	.file	"extr_ngx_http_proxy_module.c_ngx_http_proxy_process_header.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"http proxy header: \"%V: %V\""
.LC1:
	.string	"http proxy header done"
.LC2:
	.string	"Server"
.LC3:
	.string	"server"
.LC4:
	.string	"Date"
.LC5:
	.string	"date"
.LC6:
	.string	"upstream sent invalid header"
	.text
	.p2align 4
	.type	ngx_http_proxy_process_header, @function
ngx_http_proxy_process_header:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR ngx_http_upstream_module[rip]
	call	ngx_http_get_module_main_conf@PLT
	mov	r12, rax
.L9:
	mov	rax, QWORD PTR 56[rbp]
	mov	edx, 1
	mov	rdi, rbp
	lea	rsi, 64[rax]
	call	ngx_http_parse_header_line@PLT
	cmp	QWORD PTR NGX_OK[rip], rax
	jne	.L2
	mov	rax, QWORD PTR 56[rbp]
	lea	rdi, 40[rax]
	call	ngx_list_push@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L25
	movzx	eax, BYTE PTR 0[rbp]
	mov	BYTE PTR [rbx], al
	mov	edx, DWORD PTR 4[rbp]
	mov	eax, DWORD PTR 12[rbp]
	sub	edx, DWORD PTR 8[rbp]
	sub	eax, DWORD PTR 16[rbp]
	mov	edi, DWORD PTR 64[rbp]
	mov	DWORD PTR 32[rbx], edx
	mov	DWORD PTR 16[rbx], eax
	lea	esi, 2[rax+rdx*2]
	call	ngx_pnalloc@PLT
	mov	QWORD PTR 40[rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L27
	movsx	rax, DWORD PTR 32[rbx]
	mov	esi, DWORD PTR 8[rbp]
	lea	rcx, 1[rdi+rax]
	mov	rdx, rax
	mov	QWORD PTR 24[rbx], rcx
	movsx	rcx, DWORD PTR 16[rbx]
	lea	rax, 2[rax+rcx]
	add	rax, rdi
	mov	QWORD PTR 8[rbx], rax
	call	ngx_memcpy@PLT
	mov	rdx, QWORD PTR 40[rbx]
	movsx	rax, DWORD PTR 32[rbx]
	mov	BYTE PTR [rdx+rax], 0
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR 16[rbp]
	mov	rdi, QWORD PTR 24[rbx]
	call	ngx_memcpy@PLT
	movsx	rax, DWORD PTR 16[rbx]
	mov	rdx, QWORD PTR 24[rbx]
	mov	BYTE PTR [rdx+rax], 0
	movsx	rax, DWORD PTR 32[rbx]
	mov	rdx, rax
	cmp	rax, QWORD PTR 24[rbp]
	je	.L28
	mov	rsi, QWORD PTR 40[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	call	ngx_strlow@PLT
.L7:
	mov	ecx, DWORD PTR 32[rbx]
	mov	rdx, QWORD PTR 8[rbx]
	mov	rdi, r12
	movsx	esi, BYTE PTR [rbx]
	call	ngx_hash_find@PLT
	test	rax, rax
	je	.L8
	mov	edx, DWORD PTR 8[rax]
	mov	rsi, rbx
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	cmp	rax, QWORD PTR NGX_OK[rip]
	je	.L8
.L25:
	mov	rax, QWORD PTR NGX_ERROR[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR 40[rbp]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_HTTP[rip]
	lea	r9, 16[rbx]
	xor	edx, edx
	lea	r8, 32[rbx]
	mov	rcx, r13
	mov	esi, DWORD PTR [rax]
	call	ngx_log_debug2@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	mov	esi, DWORD PTR 32[rbp]
	mov	rdi, QWORD PTR 8[rbx]
	call	ngx_memcpy@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	QWORD PTR NGX_HTTP_PARSE_HEADER_DONE[rip], rax
	je	.L29
	cmp	QWORD PTR NGX_AGAIN[rip], rax
	je	.L1
	mov	rax, QWORD PTR 40[rbp]
	mov	edi, DWORD PTR NGX_LOG_ERR[rip]
	lea	rcx, .LC6[rip]
	xor	edx, edx
	mov	esi, DWORD PTR [rax]
	call	ngx_log_error@PLT
	mov	rax, QWORD PTR NGX_HTTP_UPSTREAM_INVALID_HEADER[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	BYTE PTR [rbx], 0
	jmp	.L25
.L29:
	mov	rax, QWORD PTR 40[rbp]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_HTTP[rip]
	xor	edx, edx
	lea	rcx, .LC1[rip]
	mov	esi, DWORD PTR [rax]
	call	ngx_log_debug0@PLT
	mov	rbx, QWORD PTR 56[rbp]
	cmp	QWORD PTR 56[rbx], 0
	je	.L30
.L11:
	cmp	QWORD PTR 48[rbx], 0
	je	.L31
.L13:
	cmp	QWORD PTR 32[rbx], 0
	je	.L15
	mov	DWORD PTR 8[rbx], -1
.L15:
	mov	esi, DWORD PTR ngx_http_proxy_module[rip]
	mov	rdi, rbp
	call	ngx_http_get_module_ctx@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR 16[rbx]
	cmp	rax, QWORD PTR NGX_HTTP_NO_CONTENT[rip]
	je	.L16
	cmp	rax, QWORD PTR NGX_HTTP_NOT_MODIFIED[rip]
	je	.L16
	cmp	QWORD PTR [rdx], 0
	jne	.L16
	cmp	QWORD PTR 32[rbx], 0
	jne	.L17
	cmp	DWORD PTR 8[rbx], 0
	jne	.L17
.L16:
	mov	ecx, DWORD PTR 24[rbx]
	xor	edx, edx
	test	ecx, ecx
	sete	dl
	mov	DWORD PTR [rbx], edx
.L17:
	cmp	rax, QWORD PTR NGX_HTTP_SWITCHING_PROTOCOLS[rip]
	je	.L32
.L19:
	mov	rax, QWORD PTR NGX_OK[rip]
	jmp	.L1
.L31:
	lea	rdi, 40[rbx]
	call	ngx_list_push@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L25
	mov	esi, 97
	mov	edi, 100
	call	ngx_hash@PLT
	mov	esi, 116
	movsx	edi, al
	call	ngx_hash@PLT
	mov	esi, 101
	movsx	edi, al
	call	ngx_hash@PLT
	lea	rdi, 32[rbx]
	lea	rsi, .LC4[rip]
	mov	BYTE PTR [rbx], al
	call	ngx_str_set@PLT
	lea	rdi, 16[rbx]
	call	ngx_str_null@PLT
	lea	rax, .LC5[rip]
	mov	QWORD PTR 8[rbx], rax
	mov	rbx, QWORD PTR 56[rbp]
	jmp	.L13
.L32:
	cmp	QWORD PTR 48[rbp], 0
	mov	DWORD PTR [rbx], 0
	je	.L19
	mov	DWORD PTR 4[rbx], 1
	jmp	.L19
.L30:
	lea	rdi, 40[rbx]
	call	ngx_list_push@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L25
	mov	esi, 101
	mov	edi, 115
	call	ngx_hash@PLT
	mov	esi, 114
	movsx	edi, al
	call	ngx_hash@PLT
	mov	esi, 118
	movsx	edi, al
	call	ngx_hash@PLT
	mov	esi, 101
	movsx	edi, al
	call	ngx_hash@PLT
	mov	esi, 114
	movsx	edi, al
	call	ngx_hash@PLT
	lea	rdi, 32[rbx]
	lea	rsi, .LC2[rip]
	mov	BYTE PTR [rbx], al
	call	ngx_str_set@PLT
	lea	rdi, 16[rbx]
	call	ngx_str_null@PLT
	lea	rax, .LC3[rip]
	mov	QWORD PTR 8[rbx], rax
	mov	rbx, QWORD PTR 56[rbp]
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	ngx_http_proxy_process_header, .-ngx_http_proxy_process_header
	.comm	ngx_http_upstream_module,4,4
	.comm	ngx_http_proxy_module,4,4
	.comm	NGX_OK,8,8
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_HTTP_UPSTREAM_INVALID_HEADER,8,8
	.comm	NGX_HTTP_SWITCHING_PROTOCOLS,8,8
	.comm	NGX_HTTP_PARSE_HEADER_DONE,8,8
	.comm	NGX_HTTP_NO_CONTENT,8,8
	.comm	NGX_HTTP_NOT_MODIFIED,8,8
	.comm	NGX_ERROR,8,8
	.comm	NGX_AGAIN,8,8
	.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_proxy_module.c_ngx_http_proxy_process_header.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"http proxy header: \"%V: %V\"\000"
	.align	2
.LC1:
	.ascii	"http proxy header done\000"
	.align	2
.LC2:
	.ascii	"Server\000"
	.align	2
.LC3:
	.ascii	"server\000"
	.align	2
.LC4:
	.ascii	"Date\000"
	.align	2
.LC5:
	.ascii	"date\000"
	.align	2
.LC6:
	.ascii	"upstream sent invalid header\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_proxy_process_header, %function
ngx_http_proxy_process_header:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L40
	sub	sp, sp, #8
	ldr	r1, [r3]
	mov	r5, r0
	bl	ngx_http_get_module_main_conf
	mov	r6, r0
	ldr	r8, .L40+4
	ldr	r10, .L40+8
	ldr	r9, .L40+12
.L9:
	ldr	r1, [r5, #36]
	mov	r2, #1
	mov	r0, r5
	add	r1, r1, #36
	bl	ngx_http_parse_header_line
	ldr	r3, [r8]
	cmp	r3, r0
	bne	.L2
	ldr	r0, [r5, #36]
	add	r0, r0, #24
	bl	ngx_list_push
	subs	r4, r0, #0
	beq	.L33
	ldrb	r3, [r5]	@ zero_extendqisi2
	strb	r3, [r4]
	ldr	r0, [r5, #8]
	ldr	r1, [r5, #16]
	ldr	r2, [r5, #4]
	ldr	r3, [r5, #12]
	sub	r2, r2, r0
	sub	r3, r3, r1
	add	r1, r3, r2, lsl #1
	ldr	r0, [r5, #40]
	str	r2, [r4, #16]
	add	r1, r1, #2
	str	r3, [r4, #8]
	bl	ngx_pnalloc
	cmp	r0, #0
	str	r0, [r4, #20]
	beq	.L35
	mov	r7, #0
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #8]
	add	r3, r2, r3
	add	r3, r3, #2
	add	r3, r0, r3
	str	r3, [r4, #4]
	add	r3, r2, #1
	add	r1, r0, r3
	str	r1, [r4, #12]
	ldr	r1, [r5, #8]
	bl	ngx_memcpy
	ldr	r2, [r4, #20]
	ldr	r3, [r4, #16]
	strb	r7, [r2, r3]
	ldr	r2, [r4, #8]
	ldr	r1, [r5, #16]
	ldr	r0, [r4, #12]
	bl	ngx_memcpy
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #8]
	strb	r7, [r2, r3]
	ldr	r2, [r4, #16]
	ldr	r3, [r5, #20]
	cmp	r2, r3
	beq	.L36
	ldr	r1, [r4, #20]
	ldr	r0, [r4, #4]
	bl	ngx_strlow
.L7:
	mov	r0, r6
	ldr	r3, [r4, #16]
	ldr	r2, [r4, #4]
	ldrb	r1, [r4]	@ zero_extendqisi2
	bl	ngx_hash_find
	cmp	r0, #0
	beq	.L8
	ldr	r3, [r0]
	ldr	r2, [r0, #4]
	mov	r1, r4
	mov	r0, r5
	blx	r3
	ldr	r3, [r8]
	cmp	r0, r3
	beq	.L8
.L33:
	ldr	r3, .L40+16
	ldr	r0, [r3]
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	ldr	r1, [r5, #28]
	add	r3, r4, #8
	add	r4, r4, #16
	ldr	r1, [r1]
	mov	r2, #0
	str	r3, [sp, #4]
	ldr	r0, [r10]
	mov	r3, r9
	str	r4, [sp]
	bl	ngx_log_debug2
	b	.L9
.L36:
	ldr	r1, [r5, #24]
	ldr	r0, [r4, #4]
	bl	ngx_memcpy
	b	.L7
.L2:
	ldr	r3, .L40+20
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L37
	ldr	r3, .L40+24
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L1
	ldr	r2, [r5, #28]
	ldr	r3, .L40+28
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, #0
	ldr	r3, .L40+32
	bl	ngx_log_error
	ldr	r3, .L40+36
	ldr	r0, [r3]
	b	.L1
.L35:
	ldr	r3, .L40+16
	strb	r0, [r4]
	ldr	r0, [r3]
	b	.L1
.L37:
	ldr	r2, [r5, #28]
	ldr	r3, .L40+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, #0
	ldr	r3, .L40+40
	bl	ngx_log_debug0
	ldr	r4, [r5, #36]
	ldr	r3, [r4, #32]
	cmp	r3, #0
	beq	.L38
.L11:
	ldr	r3, [r4, #28]
	cmp	r3, #0
	beq	.L39
.L13:
	ldr	r3, [r4, #20]
	mov	r0, r5
	cmp	r3, #0
	mvnne	r3, #0
	strne	r3, [r4, #8]
	ldr	r3, .L40+44
	ldr	r1, [r3]
	bl	ngx_http_get_module_ctx
	ldr	r3, .L40+48
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L16
	ldr	r3, .L40+52
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L16
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [r4, #20]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L17
.L16:
	ldr	r3, [r4, #16]
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r4]
.L17:
	ldr	r3, .L40+56
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L19
	mov	r2, #0
	ldr	r3, [r5, #32]
	str	r2, [r4]
	cmp	r3, r2
	movne	r3, #1
	strne	r3, [r4, #4]
.L19:
	ldr	r0, [r8]
	b	.L1
.L39:
	add	r0, r4, #24
	bl	ngx_list_push
	subs	r6, r0, #0
	beq	.L33
	mov	r1, #97
	mov	r0, #100
	bl	ngx_hash
	mov	r1, #116
	bl	ngx_hash
	mov	r1, #101
	bl	ngx_hash
	mov	r3, r6
	strb	r0, [r3], #16
	mov	r0, r3
	ldr	r1, .L40+60
	bl	ngx_str_set
	add	r0, r6, #8
	bl	ngx_str_null
	ldr	r3, .L40+64
	ldr	r4, [r5, #36]
	str	r3, [r6, #4]
	b	.L13
.L38:
	add	r0, r4, #24
	bl	ngx_list_push
	subs	r6, r0, #0
	beq	.L33
	mov	r1, #101
	mov	r0, #115
	bl	ngx_hash
	mov	r1, #114
	bl	ngx_hash
	mov	r1, #118
	bl	ngx_hash
	mov	r1, #101
	bl	ngx_hash
	mov	r1, #114
	bl	ngx_hash
	mov	r3, r6
	strb	r0, [r3], #16
	mov	r0, r3
	ldr	r1, .L40+68
	bl	ngx_str_set
	add	r0, r6, #8
	bl	ngx_str_null
	ldr	r3, .L40+72
	ldr	r4, [r5, #36]
	str	r3, [r6, #4]
	b	.L11
.L41:
	.align	2
.L40:
	.word	ngx_http_upstream_module
	.word	NGX_OK
	.word	NGX_LOG_DEBUG_HTTP
	.word	.LC0
	.word	NGX_ERROR
	.word	NGX_HTTP_PARSE_HEADER_DONE
	.word	NGX_AGAIN
	.word	NGX_LOG_ERR
	.word	.LC6
	.word	NGX_HTTP_UPSTREAM_INVALID_HEADER
	.word	.LC1
	.word	ngx_http_proxy_module
	.word	NGX_HTTP_NO_CONTENT
	.word	NGX_HTTP_NOT_MODIFIED
	.word	NGX_HTTP_SWITCHING_PROTOCOLS
	.word	.LC4
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.size	ngx_http_proxy_process_header, .-ngx_http_proxy_process_header
	.comm	ngx_http_upstream_module,4,4
	.comm	ngx_http_proxy_module,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_HTTP_UPSTREAM_INVALID_HEADER,4,4
	.comm	NGX_HTTP_SWITCHING_PROTOCOLS,4,4
	.comm	NGX_HTTP_PARSE_HEADER_DONE,4,4
	.comm	NGX_HTTP_NO_CONTENT,4,4
	.comm	NGX_HTTP_NOT_MODIFIED,4,4
	.comm	NGX_ERROR,4,4
	.comm	NGX_AGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
