	.file	"extr_ngx_http_charset_filter_module.c_ngx_http_charset_get_buffer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_http_charset_get_buffer, @function
ngx_http_charset_get_buffer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rax, QWORD PTR [rsi]
	mov	rbp, rdx
	test	rax, rax
	jne	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rsi, 8[r12]
	test	rax, rax
	je	.L2
.L5:
	mov	r8, QWORD PTR [rax]
	mov	r12, rax
	mov	rax, QWORD PTR 8[rax]
	mov	r9, QWORD PTR 24[r8]
	mov	rcx, QWORD PTR 40[r8]
	sub	rcx, r9
	cmp	rcx, rbp
	jb	.L3
	mov	QWORD PTR [rsi], rax
	mov	rax, r12
	mov	QWORD PTR 8[r12], 0
	mov	QWORD PTR 32[r8], r9
	mov	DWORD PTR [r8], 1
	mov	QWORD PTR 16[r8], 0
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r13
	call	ngx_alloc_chain_link@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
	mov	rsi, rbp
	mov	rdi, r13
	call	ngx_create_temp_buf@PLT
	mov	QWORD PTR [r12], rax
	test	rax, rax
	je	.L7
	mov	QWORD PTR 8[r12], 0
	lea	rdx, ngx_http_charset_filter_module[rip]
	mov	DWORD PTR [rax], 1
	mov	QWORD PTR 8[rax], rdx
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	r12d, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_http_charset_get_buffer, .-ngx_http_charset_get_buffer
	.comm	ngx_http_charset_filter_module,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_http_charset_filter_module.c_ngx_http_charset_get_buffer.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_charset_get_buffer, %function
ngx_http_charset_get_buffer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	mov	r8, r0
	mov	r7, r2
	beq	.L2
	mov	r6, r1
	b	.L5
.L3:
	cmp	r3, #0
	add	r6, r4, #4
	beq	.L2
.L5:
	ldr	lr, [r3]
	mov	r4, r3
	ldr	r5, [lr, #12]
	ldr	ip, [lr, #20]
	ldr	r3, [r3, #4]
	sub	ip, ip, r5
	cmp	ip, r7
	bcc	.L3
	mov	r2, #0
	mov	r1, #1
	str	r3, [r6]
	mov	r0, r4
	str	r2, [r4, #4]
	str	r2, [lr, #8]
	str	r5, [lr, #16]
	str	r1, [lr]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r8
	bl	ngx_alloc_chain_link
	subs	r4, r0, #0
	beq	.L7
	mov	r1, r7
	mov	r0, r8
	bl	ngx_create_temp_buf
	cmp	r0, #0
	str	r0, [r4]
	beq	.L7
	mov	r1, #0
	mov	r2, #1
	ldr	r3, .L17
	str	r1, [r4, #4]
	stm	r0, {r2, r3}
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	.align	2
.L17:
	.word	ngx_http_charset_filter_module
	.size	ngx_http_charset_get_buffer, .-ngx_http_charset_get_buffer
	.comm	ngx_http_charset_filter_module,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
