	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_ifnet_ioctl_get            ## -- Begin function mac_ifnet_ioctl_get
	.p2align	4, 0x90
_mac_ifnet_ioctl_get:                   ## @mac_ifnet_ioctl_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_mac_labeled@GOTPCREL(%rip), %rax
	movq	_MPC_OBJECT_IFNET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r12
	movq	%rsi, %rdi
	callq	_ifr_data_get_ptr
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	movl	$8, %edx
	callq	_copyin
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	leaq	-48(%rbp), %rdi
	callq	_mac_check_structmac_consistent
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movl	-44(%rbp), %edi
	movq	_M_MACTEMP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_malloc
	movq	%rax, %r14
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %edx
	movq	%rax, %rsi
	xorl	%ecx, %ecx
	callq	_copyinstr
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movl	(%r13), %esi
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	-44(%rbp), %edi
	movl	(%r13), %esi
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	callq	_malloc
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_mac_ifnet_label_alloc
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_MAC_IFNET_LOCK
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_mac_ifnet_copy_label
	movq	%r12, %rdi
	callq	_MAC_IFNET_UNLOCK
	movl	-44(%rbp), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_mac_ifnet_externalize_label
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_mac_ifnet_label_free
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.7:
	movl	-48(%rbp), %ebx
	movq	%r15, %rdi
	callq	_strlen
	leaq	1(%rax), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_copyout
	movl	%eax, %ebx
LBB0_8:
	movq	_M_MACTEMP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_free
	movl	(%r12), %esi
LBB0_9:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_mac_labeled,4,2                ## @mac_labeled
	.comm	_MPC_OBJECT_IFNET,4,2           ## @MPC_OBJECT_IFNET
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_M_MACTEMP,4,2                  ## @M_MACTEMP
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_ifnet_ioctl_get            ; -- Begin function mac_ifnet_ioctl_get
	.p2align	2
_mac_ifnet_ioctl_get:                   ; @mac_ifnet_ioctl_get
	.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
Lloh0:
	adrp	x8, _mac_labeled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mac_labeled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MPC_OBJECT_IFNET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPC_OBJECT_IFNET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x20, x2
	mov	x0, x1
	bl	_ifr_data_get_ptr
	add	x1, sp, #8
	mov	w2, #8
	bl	_copyin
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.2:
	add	x0, sp, #8
	bl	_mac_check_structmac_consistent
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	w0, [sp, #12]
Lloh6:
	adrp	x24, _M_MACTEMP@GOTPAGE
Lloh7:
	ldr	x24, [x24, _M_MACTEMP@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh8:
	adrp	x21, _M_WAITOK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _M_WAITOK@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_malloc
	mov	x19, x0
	ldp	w0, w2, [sp, #8]
	mov	x1, x19
	mov	x3, #0
	bl	_copyinstr
	cbz	w0, LBB0_7
; %bb.4:
	mov	x22, x0
	b	LBB0_10
LBB0_5:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
LBB0_6:
	mov	x0, x22
	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_7:
	ldr	w0, [sp, #12]
	ldr	w1, [x24]
	ldr	w8, [x21]
Lloh13:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_malloc
	mov	x21, x0
	bl	_mac_ifnet_label_alloc
	mov	x23, x0
	mov	x0, x20
	bl	_MAC_IFNET_LOCK
	ldr	w0, [x20]
	mov	x1, x23
	bl	_mac_ifnet_copy_label
	mov	x0, x20
	bl	_MAC_IFNET_UNLOCK
	ldr	w3, [sp, #12]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x21
	bl	_mac_ifnet_externalize_label
	mov	x22, x0
	mov	x0, x23
	bl	_mac_ifnet_label_free
	cbnz	w22, LBB0_9
; %bb.8:
	ldr	w20, [sp, #8]
	mov	x0, x21
	bl	_strlen
	add	x2, x0, #1
	mov	x0, x21
	mov	x1, x20
	bl	_copyout
	mov	x22, x0
LBB0_9:
	ldr	w1, [x24]
	mov	x0, x21
	bl	_free
LBB0_10:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_free
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_mac_labeled,4,2                ; @mac_labeled
	.comm	_MPC_OBJECT_IFNET,4,2           ; @MPC_OBJECT_IFNET
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_M_MACTEMP,4,2                  ; @M_MACTEMP
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
.subsections_via_symbols
