	.file	"extr_headers_buckets.c_serf_bucket_headers_setx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	serf_bucket_headers_setx
	.type	serf_bucket_headers_setx, @function
serf_bucket_headers_setx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rsi
	mov	esi, 48
	mov	DWORD PTR 4[rsp], ecx
	call	serf_bucket_mem_alloc@PLT
	mov	ecx, DWORD PTR 4[rsp]
	mov	r10, QWORD PTR 8[rsp]
	mov	QWORD PTR 40[rax], r15
	mov	rbx, rax
	test	ecx, ecx
	mov	QWORD PTR 32[rax], r12
	mov	DWORD PTR 24[rax], 0
	mov	QWORD PTR 16[rax], 0
	jne	.L10
	mov	QWORD PTR [rax], r10
	mov	eax, DWORD PTR 80[rsp]
	test	eax, eax
	jne	.L11
.L4:
	mov	rax, QWORD PTR 0[r13]
	mov	QWORD PTR 8[rbx], r14
	test	rax, rax
	je	.L6
.L12:
	mov	QWORD PTR 16[rax], rbx
.L7:
	mov	QWORD PTR 0[r13], rbx
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, r15
	mov	rsi, r10
	call	serf_bstrmemdup@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR ALLOC_HEADER[rip]
	or	DWORD PTR 24[rbx], eax
	mov	eax, DWORD PTR 80[rsp]
	test	eax, eax
	je	.L4
.L11:
	mov	edi, DWORD PTR 0[rbp]
	mov	rdx, r12
	mov	rsi, r14
	call	serf_bstrmemdup@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR ALLOC_VALUE[rip]
	or	DWORD PTR 24[rbx], eax
	mov	rax, QWORD PTR 0[r13]
	test	rax, rax
	jne	.L12
.L6:
	mov	QWORD PTR 8[r13], rbx
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	serf_bucket_headers_setx, .-serf_bucket_headers_setx
	.comm	ALLOC_VALUE,4,4
	.comm	ALLOC_HEADER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_headers_buckets.c_serf_bucket_headers_setx.c"
	.text
	.align	2
	.global	serf_bucket_headers_setx
	.syntax unified
	.arm
	.fpu softvfp
	.type	serf_bucket_headers_setx, %function
serf_bucket_headers_setx:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	mov	r7, r1
	ldr	r0, [r0]
	mov	r1, #24
	mov	r8, r3
	mov	r6, r2
	ldr	r10, [sp, #44]
	ldr	r9, [r5, #4]
	ldr	fp, [sp, #48]
	bl	serf_bucket_mem_alloc
	mov	r3, #0
	cmp	r8, r3
	mov	r4, r0
	str	r6, [r0, #20]
	str	r10, [r0, #16]
	str	r3, [r0, #12]
	str	r3, [r0, #8]
	streq	r7, [r0]
	bne	.L10
	cmp	fp, #0
	bne	.L11
.L4:
	ldr	r3, [sp, #40]
	str	r3, [r4, #4]
.L5:
	ldr	r3, [r9]
	cmp	r3, #0
	strne	r4, [r3, #8]
	streq	r4, [r9, #4]
	str	r4, [r9]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	mov	r2, r6
	mov	r1, r7
	ldr	r0, [r5]
	bl	serf_bstrmemdup
	ldr	r2, .L12
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	cmp	fp, #0
	orr	r3, r3, r2
	str	r0, [r4]
	str	r3, [r4, #12]
	beq	.L4
.L11:
	mov	r2, r10
	ldr	r0, [r5]
	ldr	r1, [sp, #40]
	bl	serf_bstrmemdup
	ldr	r2, .L12+4
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	str	r0, [r4, #4]
	orr	r3, r3, r2
	str	r3, [r4, #12]
	b	.L5
.L13:
	.align	2
.L12:
	.word	ALLOC_HEADER
	.word	ALLOC_VALUE
	.size	serf_bucket_headers_setx, .-serf_bucket_headers_setx
	.comm	ALLOC_VALUE,4,4
	.comm	ALLOC_HEADER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
