	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function KsecDeviceIoControl
_KsecDeviceIoControl:                   ## @KsecDeviceIoControl
	.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, %r13d
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %eax
	movl	%edi, %ebx
	movq	_KsecDeviceHandle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_KsecOpenDevice
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	_KsecDeviceHandle@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_3:
	leaq	-52(%rbp), %r8
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%ebx, %r9d
	pushq	%r13
	pushq	%r12
	pushq	%r15
	pushq	%rax
	callq	_NtDeviceIoControlFile
	addq	$32, %rsp
	movl	%eax, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KsecDeviceHandle,8,3           ## @KsecDeviceHandle
	.no_dead_strip	_KsecDeviceIoControl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function KsecDeviceIoControl
_KsecDeviceIoControl:                   ; @KsecDeviceIoControl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x25, _KsecDeviceHandle@GOTPAGE
Lloh1:
	ldr	x25, [x25, _KsecDeviceHandle@GOTPAGEOFF]
	ldr	x0, [x25]
	cbnz	x0, LBB0_3
; %bb.1:
	bl	_KsecOpenDevice
	mov	x24, x0
	bl	_NT_SUCCESS
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x0, [x25]
LBB0_3:
	stp	w22, w23, [sp]
	add	x4, sp, #12
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x5, x21
	mov	x6, x20
	mov	x7, x19
	bl	_NtDeviceIoControlFile
	mov	x24, x0
LBB0_4:
	mov	x0, x24
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KsecDeviceHandle,8,3           ; @KsecDeviceHandle
	.no_dead_strip	_KsecDeviceIoControl
.subsections_via_symbols
