	.file	"861574.c"
	.intel_syntax noprefix
	.text
	.globl	strpbrk
	.type	strpbrk, @function
strpbrk:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, rdi
	mov	rdx, rsi
	mov	r12, rdx
	jmp	.L2
.L3:
	movsx	rcx, ebx
	lea	rsi, charmap.0[rip]
	mov	BYTE PTR [rcx+rsi], 1
.L2:
	mov	rcx, r12
	lea	r12, 1[rcx]
	movzx	ecx, BYTE PTR [rcx]
	movsx	ebx, cl
	test	ebx, ebx
	jne	.L3
	mov	r12d, 0
	jmp	.L4
.L7:
	movsx	rcx, ebx
	lea	rsi, charmap.0[rip]
	movzx	ecx, BYTE PTR [rcx+rsi]
	test	cl, cl
	je	.L5
	mov	r12, rax
	jmp	.L6
.L5:
	add	rax, 1
.L4:
	movzx	ecx, BYTE PTR [rax]
	movsx	ebx, cl
	test	ebx, ebx
	jne	.L7
.L6:
	jmp	.L8
.L9:
	movsx	rax, ebx
	lea	rcx, charmap.0[rip]
	mov	BYTE PTR [rax+rcx], 0
.L8:
	mov	rax, rdx
	lea	rdx, 1[rax]
	movzx	eax, BYTE PTR [rax]
	movsx	ebx, al
	test	ebx, ebx
	jne	.L9
	mov	rax, r12
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	strpbrk, .-strpbrk
	.local	charmap.0
	.comm	charmap.0,255,32
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"861574.c"
	.text
	.align	2
	.global	strpbrk
	.syntax unified
	.arm
	.fpu softvfp
	.type	strpbrk, %function
strpbrk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	mov	r3, r0
	mov	r2, r1
	mov	r5, r2
	b	.L2
.L3:
	ldr	r1, .L11
	mov	r0, #1
	strb	r0, [r1, r4]
.L2:
	mov	r1, r5
	add	r5, r1, #1
	ldrb	r1, [r1]	@ zero_extendqisi2
	mov	r4, r1
	cmp	r4, #0
	bne	.L3
	mov	r5, #0
	b	.L4
.L7:
	ldr	r1, .L11
	ldrb	r1, [r1, r4]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L5
	mov	r5, r3
	b	.L6
.L5:
	add	r3, r3, #1
.L4:
	ldrb	r1, [r3]	@ zero_extendqisi2
	mov	r4, r1
	cmp	r4, #0
	bne	.L7
.L6:
	b	.L8
.L9:
	ldr	r3, .L11
	mov	r1, #0
	strb	r1, [r3, r4]
.L8:
	mov	r3, r2
	add	r2, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r4, r3
	cmp	r4, #0
	bne	.L9
	mov	r3, r5
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
.L12:
	.align	2
.L11:
	.word	charmap.5483
	.size	strpbrk, .-strpbrk
	.local	charmap.5483
	.comm	charmap.5483,255,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
