	.file	"extr_ngx_output_chain.c_ngx_output_chain_align_file_buf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_output_chain_align_file_buf, @function
ngx_output_chain_align_file_buf:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 40[rdi]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rcx]
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L2
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edx, DWORD PTR 4[rdi]
	mov	rbx, rdi
	mov	DWORD PTR [rdi], 1
	lea	eax, -1[rdx]
	and	eax, DWORD PTR [rcx]
	cdqe
	test	rax, rax
	jne	.L5
	mov	eax, DWORD PTR NGX_DECLINED[rip]
	cmp	QWORD PTR 32[rdi], rsi
	jle	.L1
.L6:
	mov	r8, rsi
.L7:
	mov	edi, DWORD PTR 24[rbx]
	mov	rsi, r8
	call	ngx_create_temp_buf@PLT
	test	rax, rax
	mov	QWORD PTR 16[rbx], rax
	mov	eax, DWORD PTR NGX_ERROR[rip]
	cmovne	eax, DWORD PTR NGX_OK[rip]
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movsx	r8, edx
	sub	r8, rax
	cmp	r8, rsi
	jg	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	mov	eax, DWORD PTR NGX_DECLINED[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_output_chain_align_file_buf, .-ngx_output_chain_align_file_buf
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.comm	NGX_DECLINED,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_ngx_output_chain.c_ngx_output_chain_align_file_buf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_output_chain_align_file_buf, %function
ngx_output_chain_align_file_buf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #24]
	ldr	r2, [r3]
	ldr	r3, [r2, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	push	{r4, lr}
	mov	ip, #1
	mov	r4, r0
	ldr	r3, [r0, #4]
	ldr	r0, [r2]
	sub	r2, r3, #1
	ands	r2, r2, r0
	str	ip, [r4]
	bne	.L5
	ldr	r3, [r4, #20]
	cmp	r3, r1
	ble	.L16
.L6:
	mov	r3, r1
.L7:
	mov	r1, r3
	ldr	r0, [r4, #16]
	bl	ngx_create_temp_buf
	cmp	r0, #0
	ldreq	r3, .L17
	ldrne	r3, .L17+4
	str	r0, [r4, #12]
	ldr	r0, [r3]
	pop	{r4, pc}
.L5:
	sub	r3, r3, r2
	cmp	r3, r1
	bgt	.L6
	b	.L7
.L2:
	ldr	r3, .L17+8
	ldr	r0, [r3]
	bx	lr
.L16:
	ldr	r3, .L17+8
	ldr	r0, [r3]
	pop	{r4, pc}
.L18:
	.align	2
.L17:
	.word	NGX_ERROR
	.word	NGX_OK
	.word	NGX_DECLINED
	.size	ngx_output_chain_align_file_buf, .-ngx_output_chain_align_file_buf
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.comm	NGX_DECLINED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
