	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strerror                       ## -- Begin function strerror
	.p2align	4, 0x90
_strerror:                              ## @strerror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ecx
	testl	%edi, %edi
	js	LBB0_2
## %bb.1:
	movq	_sys_nerr@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jle	LBB0_2
## %bb.3:
	movq	_sys_errlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %rbx
	jmp	LBB0_4
LBB0_2:
	leaq	_strerror.buf(%rip), %rbx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_snprintf
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_strerror.buf,100,4 ## @strerror.buf
	.comm	_sys_nerr,4,2                   ## @sys_nerr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown error %d"

	.comm	_sys_errlist,8,3                ## @sys_errlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strerror                       ; -- Begin function strerror
	.p2align	2
_strerror:                              ; @strerror
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x3, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _sys_nerr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sys_nerr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _sys_errlist@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sys_errlist@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x19, [x8, w3, uxtw #3]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x19, _strerror.buf@PAGE
Lloh7:
	add	x19, x19, _strerror.buf@PAGEOFF
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #100
	bl	_snprintf
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_strerror.buf,100,0 ; @strerror.buf
	.comm	_sys_nerr,4,2                   ; @sys_nerr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown error %d"

	.comm	_sys_errlist,8,3                ; @sys_errlist
.subsections_via_symbols
