	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getaddr
_getaddr:                               ## @getaddr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	_getaddr.reply(%rip), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_bzero
	movl	$24, _getaddr.reply(%rip)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _getaddr.reply+16(%rip)
	movq	%r14, %rdi
	callq	_inet_addr
	movq	%rax, _getaddr.reply+8(%rip)
	movq	_INADDR_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, _getaddr.reply+8(%rip)
	jmp	LBB0_4
LBB0_2:
	movq	_h_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_hstrerror
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_xo_warnx
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getaddr.reply,24,3 ## @getaddr.reply
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_INADDR_NONE,8,3                ## @INADDR_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s"

	.comm	_h_errno,4,2                    ## @h_errno
	.no_dead_strip	_getaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getaddr
_getaddr:                               ; @getaddr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x20, _getaddr.reply@PAGE
Lloh1:
	add	x20, x20, _getaddr.reply@PAGEOFF
	mov	w21, #24
	mov	x0, x20
	mov	w1, #24
	bl	_bzero
	str	w21, [x20]
Lloh2:
	adrp	x8, _AF_INET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	mov	x0, x19
	bl	_inet_addr
	str	x0, [x20, #8]
Lloh5:
	adrp	x8, _INADDR_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INADDR_NONE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_gethostbyname
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x0]
	ldr	x8, [x8]
	str	x8, [x20, #8]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _h_errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _h_errno@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_hstrerror
	mov	x2, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_xo_warnx
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getaddr.reply,24,3 ; @getaddr.reply
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_INADDR_NONE,8,3                ; @INADDR_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s"

	.comm	_h_errno,4,2                    ; @h_errno
	.no_dead_strip	_getaddr
.subsections_via_symbols
