	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kern_ioctl
_kern_ioctl:                            ## @kern_ioctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r9d
	cmpl	$130, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_10
## %bb.3:
	movq	_KS_DYNAMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rdi), %eax
	movl	%eax, (%rdi)
	movq	_KS_DELETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.11:
	popq	%rbp
	retq
LBB0_5:
	movq	_KS_DELETED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rdi)
	jmp	LBB0_9
LBB0_6:
	movl	(%rdi), %eax
	movq	_KS_DELETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_7
## %bb.8:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_9:
	movl	$130, %esi
	jmp	LBB0_10
LBB0_4:
	orl	%eax, %ecx
	movl	%ecx, (%rdi)
	movl	$128, %esi
	jmp	LBB0_10
LBB0_7:
	movl	$129, %esi
LBB0_10:
	movl	16(%rdi), %eax
	movl	12(%rdi), %edx
	movl	4(%rdi), %r8d
	movl	8(%rdi), %ecx
	movl	%esi, %edi
	movl	%eax, %esi
	popq	%rbp
	jmp	_rtioctl                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KS_DYNAMIC,4,2                 ## @KS_DYNAMIC
	.comm	_KS_DELETED,4,2                 ## @KS_DELETED
	.no_dead_strip	_kern_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kern_ioctl
_kern_ioctl:                            ; @kern_ioctl
	.cfi_startproc
; %bb.0:
	mov	x5, x2
	cmp	w1, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_10
; %bb.3:
Lloh0:
	adrp	x8, _KS_DYNAMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KS_DYNAMIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
Lloh3:
	adrp	x9, _KS_DELETED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KS_DELETED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.4:
	ret
LBB0_5:
Lloh6:
	adrp	x8, _KS_DELETED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KS_DELETED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	b	LBB0_10
LBB0_6:
	ldr	w8, [x0]
Lloh9:
	adrp	x9, _KS_DELETED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KS_DELETED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	bic	w8, w8, w9
	str	w8, [x0]
	mov	w1, #130
	b	LBB0_10
LBB0_8:
	orr	w8, w9, w8
	str	w8, [x0]
	mov	w1, #128
	b	LBB0_10
LBB0_9:
	mov	w1, #129
LBB0_10:
	ldp	w2, w8, [x0, #12]
	ldp	w4, w3, [x0, #4]
	mov	x0, x1
	mov	x1, x8
	b	_rtioctl
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_KS_DYNAMIC,4,2                 ; @KS_DYNAMIC
	.comm	_KS_DELETED,4,2                 ; @KS_DELETED
	.no_dead_strip	_kern_ioctl
.subsections_via_symbols
