	.file	"extr_ngx_http_lua_headers_in.c_ngx_http_set_user_agent_header.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"MSIE "
.LC1:
	.string	"SV1"
.LC2:
	.string	"Opera"
.LC3:
	.string	"Gecko/"
.LC4:
	.string	"Chrome/"
.LC5:
	.string	"Safari/"
.LC6:
	.string	"Mac OS X"
.LC7:
	.string	"Konqueror"
	.text
	.p2align 4
	.type	ngx_http_set_user_agent_header, @function
ngx_http_set_user_agent_header:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR [rdx], 0
	mov	QWORD PTR [rdi], 0
	mov	QWORD PTR 8[rdi], 0
	mov	QWORD PTR 16[rdi], 0
	mov	DWORD PTR 24[rdi], 0
	je	.L12
	mov	r14, QWORD PTR 8[rdx]
	lea	rsi, .LC0[rip]
	mov	edx, 4
	mov	rdi, r14
	call	ngx_strstrn@PLT
	test	rax, rax
	je	.L4
	mov	rdx, QWORD PTR [r12]
	lea	rcx, 7[rax]
	add	rdx, r14
	cmp	rcx, rdx
	jnb	.L4
	mov	DWORD PTR 24[rbp], 1
	cmp	BYTE PTR 6[rax], 46
	je	.L28
.L4:
	mov	edx, 4
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	call	ngx_strstrn@PLT
	test	rax, rax
	je	.L9
	movabs	rax, 4294967296
	mov	DWORD PTR 24[rbp], 0
	mov	QWORD PTR 0[rbp], rax
.L12:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ngx_http_set_builtin_header@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR 24[rbp]
	test	eax, eax
	jne	.L12
	cmp	DWORD PTR 4[rbp], 0
	jne	.L12
	mov	edx, 5
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	call	ngx_strstrn@PLT
	test	rax, rax
	je	.L13
	mov	DWORD PTR 8[rbp], 1
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L28:
	movzx	edx, BYTE PTR 5[rax]
	cmp	dl, 53
	jle	.L29
	cmp	dl, 54
	jne	.L4
	lea	rdi, 8[rax]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	call	ngx_strstrn@PLT
	test	rax, rax
	jne	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	DWORD PTR 0[rbp], 1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L29:
	cmp	dl, 51
	jle	.L4
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, 6
	lea	rsi, .LC4[rip]
	mov	rdi, r14
	call	ngx_strstrn@PLT
	test	rax, rax
	je	.L14
	mov	DWORD PTR 12[rbp], 1
	jmp	.L12
.L14:
	mov	edx, 6
	lea	rsi, .LC5[rip]
	mov	rdi, r14
	call	ngx_strstrn@PLT
	test	rax, rax
	je	.L15
	mov	edx, 7
	lea	rsi, .LC6[rip]
	mov	rdi, r14
	call	ngx_strstrn@PLT
	test	rax, rax
	je	.L15
	mov	DWORD PTR 16[rbp], 1
	jmp	.L12
.L15:
	mov	edx, 8
	lea	rsi, .LC7[rip]
	mov	rdi, r14
	call	ngx_strstrn@PLT
	test	rax, rax
	je	.L12
	mov	DWORD PTR 20[rbp], 1
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	ngx_http_set_user_agent_header, .-ngx_http_set_user_agent_header
	.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_lua_headers_in.c_ngx_http_set_user_agent_header.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MSIE \000"
	.align	2
.LC1:
	.ascii	"SV1\000"
	.align	2
.LC2:
	.ascii	"Opera\000"
	.align	2
.LC3:
	.ascii	"Gecko/\000"
	.align	2
.LC4:
	.ascii	"Chrome/\000"
	.align	2
.LC5:
	.ascii	"Safari/\000"
	.align	2
.LC6:
	.ascii	"Mac OS X\000"
	.align	2
.LC7:
	.ascii	"Konqueror\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_set_user_agent_header, %function
ngx_http_set_user_agent_header:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	ldr	ip, [r2]
	str	r3, [r0, #24]
	cmp	ip, r3
	str	r3, [r0]
	str	r3, [r0, #4]
	str	r3, [r0, #8]
	str	r3, [r0, #12]
	str	r3, [r0, #16]
	str	r3, [r0, #20]
	beq	.L28
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r2, #4]
	mov	r5, r2
	mov	r4, r0
	mov	r7, r1
	mov	r2, #4
	mov	r0, r6
	ldr	r1, .L32
	bl	ngx_strstrn
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r5]
	add	r2, r0, #7
	add	r3, r6, r3
	cmp	r2, r3
	bcs	.L4
	mov	r8, #1
	str	r8, [r4, #24]
	ldrb	r3, [r0, #6]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L30
.L4:
	mov	r2, #4
	mov	r0, r6
	ldr	r1, .L32+4
	bl	ngx_strstrn
	cmp	r0, #0
	beq	.L9
	mov	r3, #0
	mov	r2, #1
	str	r3, [r4, #24]
	str	r2, [r4, #4]
	str	r3, [r4]
.L12:
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
.L28:
	b	ngx_http_set_builtin_header
.L9:
	ldr	r3, [r4, #24]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L12
	mov	r2, #5
	mov	r0, r6
	ldr	r1, .L32+8
	bl	ngx_strstrn
	cmp	r0, #0
	beq	.L13
	mov	r3, #1
	str	r3, [r4, #8]
	b	.L12
.L30:
	ldrb	r3, [r0, #5]	@ zero_extendqisi2
	cmp	r3, #53
	bls	.L31
	cmp	r3, #54
	bne	.L4
	mov	r2, #2
	ldr	r1, .L32+12
	add	r0, r0, #8
	bl	ngx_strstrn
	cmp	r0, #0
	bne	.L4
.L27:
	str	r8, [r4]
	b	.L4
.L31:
	cmp	r3, #51
	bls	.L4
	b	.L27
.L13:
	mov	r2, #6
	mov	r0, r6
	ldr	r1, .L32+16
	bl	ngx_strstrn
	cmp	r0, #0
	movne	r3, #1
	strne	r3, [r4, #12]
	bne	.L12
.L14:
	mov	r2, #6
	mov	r0, r6
	ldr	r1, .L32+20
	bl	ngx_strstrn
	cmp	r0, #0
	beq	.L15
	mov	r2, #7
	mov	r0, r6
	ldr	r1, .L32+24
	bl	ngx_strstrn
	cmp	r0, #0
	movne	r3, #1
	strne	r3, [r4, #16]
	bne	.L12
.L15:
	mov	r0, r6
	mov	r2, #8
	ldr	r1, .L32+28
	bl	ngx_strstrn
	cmp	r0, #0
	movne	r3, #1
	strne	r3, [r4, #20]
	b	.L12
.L33:
	.align	2
.L32:
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC1
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	ngx_http_set_user_agent_header, .-ngx_http_set_user_agent_header
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
