	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_cmd
_do_cmd:                                ## @do_cmd
	.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
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movl	%esi, %r14d
	movl	%edi, %r15d
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	-44(%rbp), %edi
	movq	_ifr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	%r14d, -48(%rbp)
	movq	%rbx, -64(%rbp)
	movq	%r13, -56(%rbp)
	testl	%r12d, %r12d
	jne	LBB0_1
## %bb.2:
	movq	_SIOCGDRVSPEC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SIOCSDRVSPEC@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movl	%r15d, %edi
	leaq	-64(%rbp), %rdx
	callq	_ioctl
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifr,4,2                        ## @ifr
	.comm	_SIOCSDRVSPEC,4,2               ## @SIOCSDRVSPEC
	.comm	_SIOCGDRVSPEC,4,2               ## @SIOCGDRVSPEC
	.no_dead_strip	_do_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_cmd
_do_cmd:                                ; @do_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [sp, #28]
Lloh0:
	adrp	x8, _ifr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	str	w22, [sp, #24]
Lloh3:
	adrp	x8, _SIOCSDRVSPEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIOCSDRVSPEC@GOTPAGEOFF]
	stp	x20, x21, [sp, #8]
Lloh5:
	adrp	x9, _SIOCGDRVSPEC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SIOCGDRVSPEC@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x23
	bl	_ioctl
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ifr,4,2                        ; @ifr
	.comm	_SIOCSDRVSPEC,4,2               ; @SIOCSDRVSPEC
	.comm	_SIOCGDRVSPEC,4,2               ; @SIOCGDRVSPEC
	.no_dead_strip	_do_cmd
.subsections_via_symbols
