	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_k_pioctl                       ## -- Begin function k_pioctl
	.p2align	4, 0x90
_k_pioctl:                              ## @k_pioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$80, %rsp
	movq	_afs_entry_point@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$132, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$133, %eax
	jne	LBB0_5
## %bb.2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movups	%xmm0, -24(%rbp)
	movq	$0, -8(%rbp)
	movq	_AFSCALL_PIOCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%rdi, -72(%rbp)
	movslq	%esi, %rax
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -48(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_do_ioctl
	jmp	LBB0_6
LBB0_3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbp)
	movups	%xmm0, -40(%rbp)
	movq	$0, -8(%rbp)
	movq	%rdi, -72(%rbp)
	movslq	%esi, %rax
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -48(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_do_ioctl
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	-40(%rbp), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_6:
	addq	$80, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_afs_entry_point,4,2            ## @afs_entry_point
	.comm	_AFSCALL_PIOCTL,4,2             ## @AFSCALL_PIOCTL
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_errno,4,2                      ## @errno
	.comm	_SIGSYS,4,2                     ## @SIGSYS
	.comm	_afs_syscalls,8,3               ## @afs_syscalls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_k_pioctl                       ; -- Begin function k_pioctl
	.p2align	2
_k_pioctl:                              ; @k_pioctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _afs_entry_point@GOTPAGE
Lloh1:
	ldr	x8, [x8, _afs_entry_point@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #132
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #133
	b.ne	LBB0_4
; %bb.2:
	movi.2d	v0, #0000000000000000
	str	xzr, [sp, #72]
	stur	q0, [sp, #40]
	stur	q0, [sp, #56]
Lloh3:
	adrp	x8, _AFSCALL_PIOCTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AFSCALL_PIOCTL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	sxtw	x8, w1
	stp	x0, x8, [sp, #8]
	sxtw	x8, w3
	stp	x2, x8, [sp, #24]
	add	x0, sp, #8
	bl	_do_ioctl
	b	LBB0_5
LBB0_3:
	str	xzr, [sp, #72]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #56]
	stur	q0, [sp, #40]
                                        ; kill: def $w1 killed $w1 killed $x1 def $x1
	sxtw	x8, w1
	stp	x0, x8, [sp, #8]
                                        ; kill: def $w3 killed $w3 killed $x3 def $x3
	sxtw	x8, w3
	stp	x2, x8, [sp, #24]
	add	x0, sp, #8
	bl	_do_ioctl
	ldr	w8, [sp, #40]
	cmp	w0, #0
	csel	w0, w8, w0, eq
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_afs_entry_point,4,2            ; @afs_entry_point
	.comm	_AFSCALL_PIOCTL,4,2             ; @AFSCALL_PIOCTL
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_errno,4,2                      ; @errno
	.comm	_SIGSYS,4,2                     ; @SIGSYS
	.comm	_afs_syscalls,8,3               ; @afs_syscalls
.subsections_via_symbols
