	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether_resolve_addr
_ether_resolve_addr:                    ## @ether_resolve_addr
	.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
	movq	%rsi, %rbx
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, (%rax)
LBB0_2:
	movl	(%rdx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_if_printf
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_m_freem
LBB0_4:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't handle af%d\n"

	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_EHOSTDOWN,4,2                  ## @EHOSTDOWN
	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
	.comm	_ETHERTYPE_IP,4,2               ## @ETHERTYPE_IP
	.comm	_ETHERTYPE_IPV6,4,2             ## @ETHERTYPE_IPV6
	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
	.comm	_LLE_IFADDR,4,2                 ## @LLE_IFADDR
	.comm	_M_BCAST,4,2                    ## @M_BCAST
	.comm	_M_MCAST,4,2                    ## @M_MCAST
	.comm	_RT_HAS_GW,4,2                  ## @RT_HAS_GW
	.comm	_RT_L2_ME,4,2                   ## @RT_L2_ME
	.comm	_RT_MAY_LOOP,4,2                ## @RT_MAY_LOOP
	.no_dead_strip	_ether_resolve_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether_resolve_addr
_ether_resolve_addr:                    ; @ether_resolve_addr
	.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	x19, x1
	cbz	x6, LBB0_2
; %bb.1:
	str	xzr, [x6]
LBB0_2:
	ldr	w2, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_if_printf
	cbz	x19, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_m_freem
LBB0_4:
Lloh2:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't handle af%d\n"

	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_EHOSTDOWN,4,2                  ; @EHOSTDOWN
	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
	.comm	_ETHERTYPE_IP,4,2               ; @ETHERTYPE_IP
	.comm	_ETHERTYPE_IPV6,4,2             ; @ETHERTYPE_IPV6
	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
	.comm	_LLE_IFADDR,4,2                 ; @LLE_IFADDR
	.comm	_M_BCAST,4,2                    ; @M_BCAST
	.comm	_M_MCAST,4,2                    ; @M_MCAST
	.comm	_RT_HAS_GW,4,2                  ; @RT_HAS_GW
	.comm	_RT_L2_ME,4,2                   ; @RT_L2_ME
	.comm	_RT_MAY_LOOP,4,2                ; @RT_MAY_LOOP
	.no_dead_strip	_ether_resolve_addr
.subsections_via_symbols
