	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gai_strerror                   ## -- Begin function gai_strerror
	.p2align	4, 0x90
_gai_strerror:                          ## @gai_strerror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EAI_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	movl	%edi, %ecx
	cmovll	%eax, %ecx
	testl	%edi, %edi
	cmovsl	%eax, %ecx
	movq	_ai_errlist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAI_MAX,4,2                    ## @EAI_MAX
	.comm	_ai_errlist,8,3                 ## @ai_errlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gai_strerror                   ; -- Begin function gai_strerror
	.p2align	2
_gai_strerror:                          ; @gai_strerror
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EAI_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAI_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	ccmp	w0, #0, #8, ge
	csel	w8, w8, w0, lt
Lloh3:
	adrp	x9, _ai_errlist@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ai_errlist@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x0, [x9, w8, sxtw #3]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EAI_MAX,4,2                    ; @EAI_MAX
	.comm	_ai_errlist,8,3                 ; @ai_errlist
.subsections_via_symbols
