	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getipnodebyaddr                ## -- Begin function getipnodebyaddr
	.p2align	4, 0x90
_getipnodebyaddr:                       ## @getipnodebyaddr
	.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, %edx
	jne	LBB0_11
## %bb.1:
	cmpq	$4, %rsi
	jne	LBB0_11
## %bb.2:
	movq	%rdi, %rbx
	movl	$4, %esi
	callq	_rounddown2
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %r15
	movl	$4, %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	%r15, %rbx
LBB0_4:
	cmpl	$0, (%rbx)
	je	LBB0_12
## %bb.5:
	xorl	%eax, %eax
	callq	___res_state
	movq	%rax, %r15
	movl	(%rax), %r12d
	movq	_RES_INIT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_res_ninit
	testq	%rax, %rax
	js	LBB0_15
## %bb.7:
	movl	(%r15), %r12d
LBB0_8:
	movq	_RES_USE_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%r12d, %eax
	movl	%eax, (%r15)
	movl	$4, %esi
	movq	%rbx, %rdi
	movl	$129, %edx
	callq	_gethostbyaddr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movl	4(%r15), %ecx
	movl	%ecx, (%r14)
LBB0_10:
	movl	%r12d, (%r15)
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	__hpcopy
	jmp	LBB0_13
LBB0_11:
	movq	_NO_RECOVERY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_NETDB_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_RES_SET_H_ERRNO
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_RECOVERY,4,2                ## @NO_RECOVERY
	.comm	_RES_INIT,4,2                   ## @RES_INIT
	.comm	_NETDB_INTERNAL,4,2             ## @NETDB_INTERNAL
	.comm	_RES_USE_INET6,4,2              ## @RES_USE_INET6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getipnodebyaddr                ; -- Begin function getipnodebyaddr
	.p2align	2
_getipnodebyaddr:                       ; @getipnodebyaddr
	.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	w2, #129
	b.ne	LBB0_11
; %bb.1:
	cmp	x1, #4
	b.ne	LBB0_11
; %bb.2:
	mov	x20, x0
	bl	_rounddown2
	cbz	w0, LBB0_4
; %bb.3:
	add	x0, sp, #8
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	add	x20, sp, #8
LBB0_4:
	ldr	w8, [x20]
	cbz	w8, LBB0_13
; %bb.5:
	bl	___res_state
	mov	x21, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _RES_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RES_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x21
	bl	_res_ninit
	tbnz	x0, #63, LBB0_14
; %bb.7:
	ldr	w22, [x21]
LBB0_8:
Lloh3:
	adrp	x8, _RES_USE_INET6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RES_USE_INET6@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w8, w22, w8
	str	w8, [x21]
	mov	x0, x20
	mov	w1, #4
	mov	w2, #129
	bl	_gethostbyaddr
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x21, #4]
	str	w8, [x19]
LBB0_10:
	str	w22, [x21]
	mov	x1, x19
	bl	__hpcopy
	b	LBB0_12
LBB0_11:
	mov	x0, #0
Lloh6:
	adrp	x8, _NO_RECOVERY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NO_RECOVERY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_12:
	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_13:
	mov	x0, #0
	b	LBB0_12
LBB0_14:
Lloh9:
	adrp	x8, _NETDB_INTERNAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETDB_INTERNAL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_RES_SET_H_ERRNO
	mov	x0, #0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_RECOVERY,4,2                ; @NO_RECOVERY
	.comm	_RES_INIT,4,2                   ; @RES_INIT
	.comm	_NETDB_INTERNAL,4,2             ; @NETDB_INTERNAL
	.comm	_RES_USE_INET6,4,2              ; @RES_USE_INET6
.subsections_via_symbols
