	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getipnodebyname                ## -- Begin function getipnodebyname
	.p2align	4, 0x90
_getipnodebyname:                       ## @getipnodebyname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	cmpl	$129, %esi
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %r12
	movq	_AI_ADDRCONFIG@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_6
## %bb.4:
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movq	_SOCK_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%ebx, %ebx
	movl	$129, %edi
	xorl	%edx, %edx
	callq	__socket
	testl	%eax, %eax
	js	LBB0_15
## %bb.5:
	movl	%eax, %edi
	callq	__close
LBB0_6:
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_inet_aton
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rdx
	movl	$129, %edi
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	__hpaddr
	jmp	LBB0_14
LBB0_1:
	movq	_NO_RECOVERY@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_8:
	xorl	%eax, %eax
	callq	___res_state
	movq	%rax, %r15
	movl	(%rax), %ebx
	movq	_RES_INIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	callq	_res_ninit
	testq	%rax, %rax
	js	LBB0_16
## %bb.10:
	movl	(%r15), %ebx
LBB0_11:
	movq	_RES_USE_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ebx, %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	movl	$129, %esi
	callq	_gethostbyname2
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	__hpcopy
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movl	4(%r15), %ecx
	movl	%ecx, (%r14)
LBB0_13:
	movl	%ebx, (%r15)
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	__hpsort
LBB0_14:
	movq	%rax, %rbx
LBB0_15:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_NETDB_INTERNAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_RECOVERY,4,2                ## @NO_RECOVERY
	.comm	_AI_ADDRCONFIG,4,2              ## @AI_ADDRCONFIG
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_SOCK_CLOEXEC,4,2               ## @SOCK_CLOEXEC
	.comm	_HOST_NOT_FOUND,4,2             ## @HOST_NOT_FOUND
	.comm	_RES_INIT,4,2                   ## @RES_INIT
	.comm	_NETDB_INTERNAL,4,2             ## @NETDB_INTERNAL
	.comm	_RES_USE_INET6,4,2              ## @RES_USE_INET6
	.comm	_AI_ALL,4,2                     ## @AI_ALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getipnodebyname                ; -- Begin function getipnodebyname
	.p2align	2
_getipnodebyname:                       ; @getipnodebyname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	cmp	w1, #129
	b.ne	LBB0_6
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _AI_ADDRCONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AI_ADDRCONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SOCK_CLOEXEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCK_CLOEXEC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w0, #129
	mov	w2, #0
	bl	__socket
	tbnz	w0, #31, LBB0_14
; %bb.3:
	bl	__close
LBB0_4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_inet_aton
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.5:
	add	x2, sp, #8
	mov	w0, #129
	mov	x1, x20
	mov	x3, x19
	bl	__hpaddr
	b	LBB0_15
LBB0_6:
	mov	x0, #0
Lloh9:
	adrp	x8, _NO_RECOVERY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NO_RECOVERY@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_15
LBB0_8:
	bl	___res_state
	mov	x21, x0
	ldr	w22, [x0]
Lloh11:
	adrp	x8, _RES_INIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RES_INIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x21
	bl	_res_ninit
	tbnz	x0, #63, LBB0_16
; %bb.10:
	ldr	w22, [x21]
LBB0_11:
Lloh14:
	adrp	x8, _RES_USE_INET6@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RES_USE_INET6@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	bic	w8, w22, w8
	str	w8, [x21]
	mov	x0, x20
	mov	w1, #129
	bl	_gethostbyname2
	mov	x1, x19
	bl	__hpcopy
	cbnz	x0, LBB0_13
; %bb.12:
	ldr	w8, [x21, #4]
	str	w8, [x19]
LBB0_13:
	str	w22, [x21]
	mov	x1, x21
	bl	__hpsort
	b	LBB0_15
LBB0_14:
	mov	x0, #0
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_16:
	mov	x0, #0
Lloh17:
	adrp	x8, _NETDB_INTERNAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NETDB_INTERNAL@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_RECOVERY,4,2                ; @NO_RECOVERY
	.comm	_AI_ADDRCONFIG,4,2              ; @AI_ADDRCONFIG
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_SOCK_CLOEXEC,4,2               ; @SOCK_CLOEXEC
	.comm	_HOST_NOT_FOUND,4,2             ; @HOST_NOT_FOUND
	.comm	_RES_INIT,4,2                   ; @RES_INIT
	.comm	_NETDB_INTERNAL,4,2             ; @NETDB_INTERNAL
	.comm	_RES_USE_INET6,4,2              ; @RES_USE_INET6
	.comm	_AI_ALL,4,2                     ; @AI_ALL
.subsections_via_symbols
