	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maclabel_status
_maclabel_status:                       ## @maclabel_status
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	-32(%rbp), %edi
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-16(%rbp), %rdi
	callq	_mac_prepare_ifnet_label
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.1:
	movq	-16(%rbp), %rax
	movq	%rax, -40(%rbp)
	movq	_SIOCGIFMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movl	%ebx, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.2:
	movq	-16(%rbp), %rdi
	leaq	-24(%rbp), %rsi
	callq	_mac_to_text
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.3:
	movq	-24(%rbp), %rsi
	cmpb	$0, (%rsi)
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	-24(%rbp), %rsi
LBB0_5:
	movq	%rsi, %rdi
	callq	_free
LBB0_6:
	movq	-16(%rbp), %rdi
	callq	_mac_free
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_name,4,2                       ## @name
	.comm	_SIOCGIFMAC,4,2                 ## @SIOCGIFMAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tmaclabel %s\n"

	.no_dead_strip	_maclabel_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maclabel_status
_maclabel_status:                       ; @maclabel_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	w0, [sp, #24]
Lloh0:
	adrp	x8, _name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	add	x0, sp, #8
	bl	_mac_prepare_ifnet_label
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	ldr	x8, [sp, #8]
	str	x8, [sp, #16]
Lloh3:
	adrp	x8, _SIOCGIFMAC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIOCGIFMAC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #16
	mov	x0, x19
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_mac_to_text
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.3:
	ldr	x1, [sp]
	ldrb	w8, [x1]
	cbz	w8, LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	x1, [sp]
LBB0_5:
	mov	x0, x1
	bl	_free
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_mac_free
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_name,4,2                       ; @name
	.comm	_SIOCGIFMAC,4,2                 ; @SIOCGIFMAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tmaclabel %s\n"

	.no_dead_strip	_maclabel_status
.subsections_via_symbols
