	.file	"extr_ngx_errno.c_ngx_strerror_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"malloc(%uz) failed (%d: %s)"
	.text
	.p2align 4
	.globl	ngx_strerror_init
	.type	ngx_strerror_init, @function
ngx_strerror_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	movsx	r12, DWORD PTR NGX_SYS_NERR[rip]
	mov	rbx, r12
	sal	r12, 2
	mov	rdi, r12
	call	malloc@PLT
	mov	QWORD PTR ngx_sys_errlist[rip], rax
	test	rax, rax
	je	.L2
	test	ebx, ebx
	jle	.L3
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, ebp
	call	strerror@PLT
	mov	rdi, rax
	mov	r13, rax
	call	ngx_strlen@PLT
	mov	rdi, rax
	mov	r12, rax
	call	malloc@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L2
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rax
	call	ngx_memcpy@PLT
	mov	rax, rbp
	add	rbp, 1
	sal	rax, 4
	add	rax, QWORD PTR ngx_sys_errlist[rip]
	cmp	DWORD PTR NGX_SYS_NERR[rip], ebp
	mov	QWORD PTR [rax], r12
	mov	QWORD PTR 8[rax], rbx
	jg	.L4
.L3:
	mov	eax, DWORD PTR NGX_OK[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
.L2:
	.cfi_restore_state
	mov	r13d, DWORD PTR errno[rip]
	mov	edi, r13d
	call	strerror@PLT
	mov	ecx, r13d
	mov	rdx, r12
	xor	edi, edi
	mov	r8, rax
	lea	rsi, .LC0[rip]
	call	ngx_log_stderr@PLT
	mov	eax, DWORD PTR NGX_ERROR[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ngx_strerror_init, .-ngx_strerror_init
	.comm	ngx_sys_errlist,8,8
	.comm	errno,4,4
	.comm	NGX_SYS_NERR,4,4
	.comm	NGX_OK,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
	.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_errno.c_ngx_strerror_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"malloc(%uz) failed (%d: %s)\000"
	.text
	.align	2
	.global	ngx_strerror_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_strerror_init, %function
ngx_strerror_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r8, .L15
	sub	sp, sp, #12
	ldr	r4, [r8]
	ldr	r7, .L15+4
	lsl	r5, r4, #2
	mov	r0, r5
	bl	malloc
	cmp	r0, #0
	str	r0, [r7]
	beq	.L2
	cmp	r4, #0
	ble	.L3
	mov	r4, #0
.L4:
	mov	r0, r4
	bl	strerror
	mov	r9, r0
	bl	ngx_strlen
	mov	r5, r0
	bl	malloc
	subs	r6, r0, #0
	beq	.L2
	mov	r2, r5
	mov	r1, r9
	bl	ngx_memcpy
	ldr	r3, [r7]
	ldr	r2, [r8]
	str	r5, [r3, r4, lsl #3]
	add	r3, r3, r4, lsl #3
	add	r4, r4, #1
	cmp	r2, r4
	str	r6, [r3, #4]
	bgt	.L4
.L3:
	ldr	r3, .L15+8
	ldr	r0, [r3]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r3, .L15+12
	ldr	r4, [r3]
	mov	r0, r4
	bl	strerror
	mov	r3, r4
	str	r0, [sp]
	mov	r2, r5
	mov	r0, #0
	ldr	r1, .L15+16
	bl	ngx_log_stderr
	ldr	r3, .L15+20
	ldr	r0, [r3]
	b	.L1
.L16:
	.align	2
.L15:
	.word	NGX_SYS_NERR
	.word	ngx_sys_errlist
	.word	NGX_OK
	.word	errno
	.word	.LC0
	.word	NGX_ERROR
	.size	ngx_strerror_init, .-ngx_strerror_init
	.comm	ngx_sys_errlist,4,4
	.comm	errno,4,4
	.comm	NGX_SYS_NERR,4,4
	.comm	NGX_OK,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
