	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function source_hwaddr
_source_hwaddr:                         ## @source_hwaddr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	-48(%rbp), %rdi
	callq	_getifaddrs
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_D
	movl	$-1, %r15d
	jmp	LBB0_10
LBB0_1:
	movq	-48(%rbp), %rbx
	movl	$1, %r15d
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_AF_LINK@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %edi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%r13, %rdi
	callq	_LLADDR
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movl	8(%rax), %r8d
	movl	12(%rax), %r9d
	movl	16(%rax), %r10d
	movl	20(%rax), %eax
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	pushq	%rax
	pushq	%r10
	callq	_sprintf
	addq	$16, %rsp
	movq	_verbose@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_D
LBB0_9:
	movq	-48(%rbp), %rdi
	callq	_freeifaddrs
LBB0_10:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getifaddrs %s failed"

	.comm	_AF_LINK,8,3                    ## @AF_LINK
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
L_.str.1:                               ## @.str.1
	.asciz	"%02x:%02x:%02x:%02x:%02x:%02x"

	.comm	_verbose,8,3                    ## @verbose
L_.str.2:                               ## @.str.2
	.asciz	"source hwaddr %s"

	.no_dead_strip	_source_hwaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function source_hwaddr
_source_hwaddr:                         ; @source_hwaddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	bl	_getifaddrs
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_D
	mov	w19, #-1
	b	LBB0_12
LBB0_2:
	ldr	x22, [sp, #8]
	cbz	x22, LBB0_10
; %bb.3:
Lloh2:
	adrp	x23, _AF_LINK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AF_LINK@GOTPAGEOFF]
Lloh4:
	adrp	x24, _IFNAMSIZ@GOTPAGE
Lloh5:
	ldr	x24, [x24, _IFNAMSIZ@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x22, #8]
	cbz	x21, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22]
	ldr	w2, [x24]
	mov	x1, x20
	bl	_strncmp
	cbnz	x0, LBB0_4
; %bb.8:
	mov	x0, x21
	bl	_LLADDR
	ldp	w2, w3, [x0]
	ldp	w4, w5, [x0, #8]
	ldp	w6, w7, [x0, #16]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
Lloh8:
	adrp	x8, _verbose@GOTPAGE
Lloh9:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.9:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_D
	mov	w19, #0
	b	LBB0_11
LBB0_10:
	mov	w19, #1
LBB0_11:
	ldr	x0, [sp, #8]
	bl	_freeifaddrs
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	mov	w19, #0
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getifaddrs %s failed"

	.comm	_AF_LINK,8,3                    ; @AF_LINK
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
l_.str.1:                               ; @.str.1
	.asciz	"%02x:%02x:%02x:%02x:%02x:%02x"

	.comm	_verbose,8,3                    ; @verbose
l_.str.2:                               ; @.str.2
	.asciz	"source hwaddr %s"

	.no_dead_strip	_source_hwaddr
.subsections_via_symbols
