	.file	"extr_ngx_http_upstream_check_module.c_ngx_http_upstream_check_init_shm.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"http upstream check, upsteam:%V, shm_zone size:%ui"
	.text
	.p2align 4
	.type	ngx_http_upstream_check_init_shm, @function
ngx_http_upstream_check_init_shm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	eax, DWORD PTR ngx_http_upstream_check_shm_generation[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, 1048576
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	edx, 1[rax]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR 8[rsi]
	mov	rbx, rsi
	mov	esi, DWORD PTR [rdi]
	mov	DWORD PTR ngx_http_upstream_check_shm_generation[rip], edx
	mov	rdi, r14
	call	ngx_http_upstream_check_get_shm_name@PLT
	cmp	DWORD PTR [rbx], 1048576
	cmovge	r13d, DWORD PTR [rbx]
	mov	rsi, r14
	mov	rdi, rbp
	lea	rcx, ngx_http_upstream_check_module[rip]
	mov	edx, r13d
	call	ngx_shared_memory_add@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_HTTP[rip]
	xor	edx, edx
	mov	r9d, r13d
	mov	r8, r14
	lea	rcx, .LC0[rip]
	mov	r12, rax
	call	ngx_log_debug2@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 4[r12], eax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR check_peers_ctx[rip], rax
	mov	eax, DWORD PTR ngx_http_upstream_check_init_shm_zone[rip]
	mov	DWORD PTR [r12], eax
	mov	rax, QWORD PTR NGX_CONF_OK[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_http_upstream_check_init_shm, .-ngx_http_upstream_check_init_shm
	.comm	ngx_http_upstream_check_shm_generation,4,4
	.comm	ngx_http_upstream_check_module,4,4
	.comm	ngx_http_upstream_check_init_shm_zone,4,4
	.comm	check_peers_ctx,8,8
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_CONF_OK,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_upstream_check_module.c_ngx_http_upstream_check_init_shm.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"http upstream check, upsteam:%V, shm_zone size:%ui\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_upstream_check_init_shm, %function
ngx_http_upstream_check_init_shm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L4
	ldr	r8, [r1, #4]
	ldr	r2, [r3]
	sub	sp, sp, #8
	ldr	r1, [r4]
	add	r2, r2, #1
	mov	r0, r8
	str	r2, [r3]
	bl	ngx_http_upstream_check_get_shm_name
	ldr	r6, [r5]
	mov	r1, r8
	cmp	r6, #1048576
	movlt	r6, #1048576
	mov	r0, r4
	mov	r2, r6
	ldr	r3, .L4+4
	bl	ngx_shared_memory_add
	ldr	r3, .L4+8
	str	r6, [sp, #4]
	str	r8, [sp]
	mov	r7, r0
	ldr	r1, [r4, #4]
	mov	r2, #0
	ldr	r0, [r3]
	ldr	r3, .L4+12
	bl	ngx_log_debug2
	ldr	r0, [r5, #4]
	ldr	r1, .L4+16
	ldr	r2, .L4+20
	ldr	r3, .L4+24
	ldr	ip, [r4]
	ldr	r3, [r3]
	str	r0, [r1]
	ldr	r0, [r2]
	str	ip, [r7, #4]
	str	r3, [r7]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	ngx_http_upstream_check_shm_generation
	.word	ngx_http_upstream_check_module
	.word	NGX_LOG_DEBUG_HTTP
	.word	.LC0
	.word	check_peers_ctx
	.word	NGX_CONF_OK
	.word	ngx_http_upstream_check_init_shm_zone
	.size	ngx_http_upstream_check_init_shm, .-ngx_http_upstream_check_init_shm
	.comm	ngx_http_upstream_check_shm_generation,4,4
	.comm	ngx_http_upstream_check_module,4,4
	.comm	ngx_http_upstream_check_init_shm_zone,4,4
	.comm	check_peers_ctx,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_CONF_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
