	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getlladdr
_getlladdr:                             ## @getlladdr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-32(%rbp), %rdi
	callq	_getifaddrs
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	-32(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.3:
	movq	_AF_LINK@GOTPCREL(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edi
	movl	4(%r14), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.9:
	movq	(%rbx), %rdi
	movl	(%r14), %ebx
	callq	_LLADDR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_IEEE80211_ADDR_COPY
	movq	-32(%rbp), %rdi
	callq	_freeifaddrs
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	callq	_getlladdr.cold.1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function getlladdr.cold.1
_getlladdr.cold.1:                      ## @getlladdr.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %edx
	leaq	L_.str.1(%rip), %rsi
	pushq	$1
	popq	%rdi
	callq	_errx
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getifaddrs"

	.comm	_AF_LINK,8,3                    ## @AF_LINK
L_.str.1:                               ## @.str.1
	.asciz	"did not find link layer address for interface %s"

	.no_dead_strip	_getlladdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getlladdr
_getlladdr:                             ; @getlladdr
	.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, x0
	add	x0, sp, #8
	bl	_getifaddrs
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	x20, [sp, #8]
	cbz	x20, LBB0_8
; %bb.3:
Lloh2:
	adrp	x21, _AF_LINK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AF_LINK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #8]
	ldr	w1, [x19, #4]
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.7:
	ldr	x0, [x20]
	ldr	w19, [x19]
	bl	_LLADDR
	mov	x1, x0
	mov	x0, x19
	bl	_IEEE80211_ADDR_COPY
	ldr	x0, [sp, #8]
	bl	_freeifaddrs
	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_8:
	mov	x0, x19
	bl	_getlladdr.cold.1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function getlladdr.cold.1
_getlladdr.cold.1:                      ; @getlladdr.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w2, [x0, #4]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
	brk	#0x1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getifaddrs"

	.comm	_AF_LINK,8,3                    ; @AF_LINK
l_.str.1:                               ; @.str.1
	.asciz	"did not find link layer address for interface %s"

	.no_dead_strip	_getlladdr
.subsections_via_symbols
