	.file	"extr_ngx_http_headers_filter_module.c_ngx_http_set_expires.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Expires"
.LC1:
	.string	"Cache-Control"
.LC2:
	.string	"Thu, 01 Jan 1970 00:00:01 GMT"
.LC3:
	.string	"no-cache"
.LC4:
	.string	"Thu, 31 Dec 2037 23:55:55 GMT"
.LC5:
	.string	"max-age=315360000"
.LC6:
	.string	"max-age=0"
.LC7:
	.string	"max-age=%T"
	.text
	.p2align 4
	.type	ngx_http_set_expires, @function
ngx_http_set_expires:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rsi]
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR 8[rsi]
	mov	rsi, QWORD PTR 16[rsi]
	mov	QWORD PTR 24[rsp], rax
	test	rsi, rsi
	je	.L7
	lea	r12, 12[rsp]
	mov	rdx, r12
	call	ngx_http_complex_value@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	je	.L5
.L34:
	mov	rax, QWORD PTR NGX_ERROR[rip]
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L36
	add	rsp, 56
	.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
.L5:
	.cfi_restore_state
	lea	rcx, 16[rsp]
	lea	rdx, 24[rsp]
	mov	rdi, r12
	lea	rsi, 32[rsp]
	call	ngx_http_parse_expires@PLT
	mov	r8, rax
	mov	rax, QWORD PTR NGX_OK[rip]
	cmp	rax, r8
	jne	.L1
	mov	rcx, QWORD PTR NGX_HTTP_EXPIRES_OFF[rip]
	cmp	QWORD PTR 32[rsp], rcx
	je	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12, QWORD PTR 40[rbp]
	test	r12, r12
	je	.L37
.L4:
	mov	QWORD PTR 8[r12], 29
	mov	rsi, QWORD PTR 24[rbp]
	test	rsi, rsi
	je	.L9
	mov	rdx, QWORD PTR 16[rbp]
	lea	rax, 8[rsi]
	lea	rcx, [rsi+rdx*8]
	cmp	rdx, 1
	jbe	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdx, QWORD PTR [rax]
	add	rax, 8
	mov	DWORD PTR [rdx], 0
	cmp	rcx, rax
	jne	.L15
.L16:
	mov	r13, QWORD PTR [rsi]
.L11:
	mov	rax, QWORD PTR 32[rsp]
	cmp	rax, QWORD PTR NGX_HTTP_EXPIRES_EPOCH[rip]
	je	.L38
	cmp	rax, QWORD PTR NGX_HTTP_EXPIRES_MAX[rip]
	je	.L39
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, 30
	call	ngx_pnalloc@PLT
	mov	QWORD PTR 16[r12], rax
	test	rax, rax
	je	.L34
	cmp	QWORD PTR 24[rsp], 0
	jne	.L20
	mov	rcx, QWORD PTR NGX_HTTP_EXPIRES_DAILY[rip]
	cmp	QWORD PTR 32[rsp], rcx
	jne	.L40
.L20:
	xor	eax, eax
	call	ngx_time@PLT
	mov	r14, rax
	mov	rax, QWORD PTR 32[rsp]
	cmp	rax, QWORD PTR NGX_HTTP_EXPIRES_DAILY[rip]
	je	.L41
	cmp	rax, QWORD PTR NGX_HTTP_EXPIRES_ACCESS[rip]
	mov	r15, QWORD PTR 24[rsp]
	je	.L23
	movsx	rsi, DWORD PTR 8[rbp]
	cmp	esi, -1
	je	.L23
	add	rsi, r15
	mov	QWORD PTR 24[rsp], rsi
	mov	r15, rsi
	sub	r15, r14
.L22:
	mov	rdi, QWORD PTR 16[r12]
	call	ngx_http_time@PLT
	cmp	QWORD PTR 8[rbx], 0
	js	.L29
	test	r15, r15
	js	.L29
	mov	eax, DWORD PTR NGX_TIME_T_LEN[rip]
	mov	edi, DWORD PTR 0[rbp]
	lea	esi, 10[rax]
	call	ngx_pnalloc@PLT
	mov	QWORD PTR 16[r13], rax
	mov	rdi, rax
	test	rax, rax
	je	.L34
	mov	rdx, r15
	lea	rsi, .LC7[rip]
	call	ngx_sprintf@PLT
	sub	rax, QWORD PTR 16[r13]
	sar	rax, 2
	mov	QWORD PTR 8[r13], rax
	mov	rax, QWORD PTR NGX_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	lea	rdi, 32[rbp]
	call	ngx_list_push@PLT
	mov	r12, rax
	test	rax, rax
	je	.L34
	mov	QWORD PTR 40[rbp], rax
	lea	rdi, 24[rax]
	lea	rsi, .LC0[rip]
	mov	DWORD PTR [rax], 1
	call	ngx_str_set@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR 0[rbp]
	lea	r14, 16[rbp]
	mov	ecx, 8
	mov	edx, 1
	mov	rdi, r14
	call	ngx_array_init@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	jne	.L34
	lea	rdi, 32[rbp]
	call	ngx_list_push@PLT
	mov	r13, rax
	test	rax, rax
	je	.L34
	mov	DWORD PTR [rax], 1
	lea	rdi, 24[rax]
	lea	rsi, .LC1[rip]
	call	ngx_str_set@PLT
	mov	rdi, r14
	call	ngx_array_push@PLT
	test	rax, rax
	je	.L34
	mov	QWORD PTR [rax], r13
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L29:
	lea	rdi, 8[r13]
	lea	rsi, .LC3[rip]
	call	ngx_str_set@PLT
	mov	rax, QWORD PTR NGX_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rsi, [r14+r15]
	mov	QWORD PTR 24[rsp], rsi
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L39:
	lea	rax, .LC4[rip]
	lea	rdi, 8[r13]
	mov	QWORD PTR 16[r12], rax
	lea	rsi, .LC5[rip]
	call	ngx_str_set@PLT
	mov	rax, QWORD PTR NGX_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L40:
	mov	rcx, QWORD PTR ngx_cached_http_time[rip]
	mov	esi, DWORD PTR ngx_cached_http_time[rip+8]
	mov	rdi, rax
	lea	rdx, 1[rcx]
	call	ngx_memcpy@PLT
	lea	rdi, 8[r13]
	lea	rsi, .LC6[rip]
	call	ngx_str_set@PLT
	mov	rax, QWORD PTR NGX_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L38:
	lea	rax, .LC2[rip]
	lea	rdi, 8[r13]
	mov	QWORD PTR 16[r12], rax
	lea	rsi, .LC3[rip]
	call	ngx_str_set@PLT
	mov	rax, QWORD PTR NGX_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, QWORD PTR 24[rsp]
	call	ngx_next_time@PLT
	mov	r15, rax
	mov	QWORD PTR 24[rsp], rax
	mov	rsi, rax
	sub	r15, r14
	jmp	.L22
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_http_set_expires, .-ngx_http_set_expires
	.comm	ngx_cached_http_time,16,16
	.comm	NGX_TIME_T_LEN,4,4
	.comm	NGX_OK,8,8
	.comm	NGX_HTTP_EXPIRES_OFF,8,8
	.comm	NGX_HTTP_EXPIRES_MAX,8,8
	.comm	NGX_HTTP_EXPIRES_EPOCH,8,8
	.comm	NGX_HTTP_EXPIRES_DAILY,8,8
	.comm	NGX_HTTP_EXPIRES_ACCESS,8,8
	.comm	NGX_ERROR,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_headers_filter_module.c_ngx_http_set_expires.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Expires\000"
	.align	2
.LC1:
	.ascii	"Cache-Control\000"
	.align	2
.LC2:
	.ascii	"Thu, 01 Jan 1970 00:00:01 GMT\000"
	.align	2
.LC3:
	.ascii	"no-cache\000"
	.align	2
.LC4:
	.ascii	"Thu, 31 Dec 2037 23:55:55 GMT\000"
	.align	2
.LC5:
	.ascii	"max-age=315360000\000"
	.align	2
.LC6:
	.ascii	"max-age=0\000"
	.align	2
.LC7:
	.ascii	"max-age=%T\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_set_expires, %function
ngx_http_set_expires:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r1
	ldr	r1, [r1, #8]
	ldr	ip, .L41
	sub	sp, sp, #28
	cmp	r1, #0
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	ldm	r4, {r2, r3}
	mov	r5, r0
	str	r2, [sp, #16]
	str	r3, [sp, #8]
	beq	.L7
	add	r2, sp, #12
	bl	ngx_http_complex_value
	ldr	r6, .L41+4
	ldr	r3, [r6]
	cmp	r0, r3
	beq	.L5
.L33:
	ldr	r3, .L41+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	add	r3, sp, #4
	add	r0, sp, #12
	add	r2, sp, #8
	add	r1, sp, #16
	bl	ngx_http_parse_expires
	mov	r3, r0
	ldr	r0, [r6]
	cmp	r0, r3
	bne	.L1
	ldr	r3, .L41+12
	ldr	r2, [sp, #16]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L1
.L7:
	ldr	r6, [r5, #20]
	cmp	r6, #0
	beq	.L36
.L4:
	mov	r3, #29
	ldr	ip, [r5, #12]
	str	r3, [r6, #4]
	cmp	ip, #0
	beq	.L9
	ldr	r1, [r5, #8]
	cmp	r1, #1
	addhi	r1, ip, r1, lsl #2
	movhi	r3, ip
	movhi	r0, #0
	subhi	r1, r1, #4
	bls	.L16
.L15:
	ldr	r2, [r3, #4]!
	cmp	r1, r3
	str	r0, [r2]
	bne	.L15
.L16:
	ldr	r7, [ip]
.L11:
	ldr	r2, .L41+16
	ldr	r3, [sp, #16]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L37
	ldr	r2, .L41+20
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L38
	mov	r1, #30
	ldr	r0, [r5]
	bl	ngx_pnalloc
	cmp	r0, #0
	str	r0, [r6, #8]
	beq	.L33
	ldr	r3, [sp, #8]
	ldr	r8, .L41+24
	cmp	r3, #0
	bne	.L20
	ldr	r2, [sp, #16]
	ldr	r3, [r8]
	cmp	r2, r3
	bne	.L39
.L20:
	bl	ngx_time
	ldr	r2, [r8]
	ldr	r3, [sp, #16]
	mov	r9, r0
	cmp	r3, r2
	beq	.L40
	ldr	r2, .L41+28
	ldr	r8, [sp, #8]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L23
	ldr	r1, [r5, #4]
	cmn	r1, #1
	addne	r1, r1, r8
	strne	r1, [sp, #8]
	subne	r8, r1, r0
	beq	.L23
.L22:
	ldr	r0, [r6, #8]
	bl	ngx_http_time
	ldr	r3, [r4, #4]
	orrs	r3, r3, r8
	bpl	.L25
	ldr	r1, .L41+32
	add	r0, r7, #4
	bl	ngx_str_set
	ldr	r3, .L41+4
	ldr	r0, [r3]
	b	.L1
.L36:
	add	r0, r5, #16
	bl	ngx_list_push
	subs	r6, r0, #0
	beq	.L33
	mov	r3, #1
	mov	r0, r6
	str	r6, [r5, #20]
	ldr	r1, .L41+36
	str	r3, [r0], #12
	bl	ngx_str_set
	b	.L4
.L9:
	mov	r8, r5
	ldr	r1, [r8], #8
	mov	r3, #4
	mov	r0, r8
	mov	r2, #1
	bl	ngx_array_init
	ldr	r3, .L41+4
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L33
	add	r0, r5, #16
	bl	ngx_list_push
	subs	r7, r0, #0
	beq	.L33
	mov	r3, #1
	mov	r0, r7
	ldr	r1, .L41+40
	str	r3, [r0], #12
	bl	ngx_str_set
	mov	r0, r8
	bl	ngx_array_push
	cmp	r0, #0
	strne	r7, [r0]
	bne	.L11
	b	.L33
.L25:
	ldr	r3, .L41+44
	ldr	r0, [r5]
	ldr	r1, [r3]
	add	r1, r1, #10
	bl	ngx_pnalloc
	cmp	r0, #0
	str	r0, [r7, #8]
	beq	.L33
	mov	r2, r8
	ldr	r1, .L41+48
	bl	ngx_sprintf
	ldr	r3, [r7, #8]
	ldr	r2, .L41+4
	sub	r3, r0, r3
	asr	r3, r3, #2
	ldr	r0, [r2]
	str	r3, [r7, #4]
	b	.L1
.L23:
	add	r1, r9, r8
	str	r1, [sp, #8]
	b	.L22
.L38:
	ldr	r3, .L41+52
	ldr	r1, .L41+56
	str	r3, [r6, #8]
	add	r0, r7, #4
	bl	ngx_str_set
	ldr	r3, .L41+4
	ldr	r0, [r3]
	b	.L1
.L39:
	ldr	r3, .L41+60
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	add	r2, r2, #1
	bl	ngx_memcpy
	ldr	r1, .L41+64
	add	r0, r7, #4
	bl	ngx_str_set
	ldr	r3, .L41+4
	ldr	r0, [r3]
	b	.L1
.L37:
	ldr	r3, .L41+68
	ldr	r1, .L41+32
	str	r3, [r6, #8]
	add	r0, r7, #4
	bl	ngx_str_set
	ldr	r3, .L41+4
	ldr	r0, [r3]
	b	.L1
.L40:
	ldr	r0, [sp, #8]
	bl	ngx_next_time
	mov	r1, r0
	str	r0, [sp, #8]
	sub	r8, r0, r9
	b	.L22
.L35:
	bl	__stack_chk_fail
.L42:
	.align	2
.L41:
	.word	.LC8
	.word	NGX_OK
	.word	NGX_ERROR
	.word	NGX_HTTP_EXPIRES_OFF
	.word	NGX_HTTP_EXPIRES_EPOCH
	.word	NGX_HTTP_EXPIRES_MAX
	.word	NGX_HTTP_EXPIRES_DAILY
	.word	NGX_HTTP_EXPIRES_ACCESS
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	NGX_TIME_T_LEN
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	ngx_cached_http_time
	.word	.LC6
	.word	.LC2
	.size	ngx_http_set_expires, .-ngx_http_set_expires
	.comm	ngx_cached_http_time,8,4
	.comm	NGX_TIME_T_LEN,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_HTTP_EXPIRES_OFF,4,4
	.comm	NGX_HTTP_EXPIRES_MAX,4,4
	.comm	NGX_HTTP_EXPIRES_EPOCH,4,4
	.comm	NGX_HTTP_EXPIRES_DAILY,4,4
	.comm	NGX_HTTP_EXPIRES_ACCESS,4,4
	.comm	NGX_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
