	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lbtf_cmd                     ## -- Begin function __lbtf_cmd
	.p2align	4, 0x90
___lbtf_cmd:                            ## @__lbtf_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
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_LBTF_DEB_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_lbtf_deb_enter
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movq	%r13, %r8
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	___lbtf_cmd_async
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_2:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_might_sleep
	movl	4(%r12), %esi
	movl	8(%r12), %edi
	callq	_wait_event_interruptible
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_pr_info
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_pr_info
LBB0_6:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	___lbtf_cleanup_and_insert_cmd
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_7:
	movq	_LBTF_DEB_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_lbtf_deb_leave_args
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBTF_DEB_HOST,4,2              ## @LBTF_DEB_HOST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PREP_CMD: command 0x%04x interrupted by signal: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"PREP_CMD: command 0x%04x failed: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"ret %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lbtf_cmd                     ; -- Begin function __lbtf_cmd
	.p2align	2
___lbtf_cmd:                            ; @__lbtf_cmd
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _LBTF_DEB_HOST@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LBTF_DEB_HOST@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_lbtf_deb_enter
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	___lbtf_cmd_async
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_7
LBB0_2:
	bl	_might_sleep
	ldp	w1, w0, [x22, #4]
	bl	_wait_event_interruptible
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_pr_info
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w21, [x22]
	cbz	w21, LBB0_6
; %bb.5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_pr_info
LBB0_6:
	mov	x0, x19
	mov	x1, x22
	bl	___lbtf_cleanup_and_insert_cmd
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_7:
	ldr	w0, [x25]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_lbtf_deb_leave_args
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LBTF_DEB_HOST,4,2              ; @LBTF_DEB_HOST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PREP_CMD: command 0x%04x interrupted by signal: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"PREP_CMD: command 0x%04x failed: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"ret %d"

.subsections_via_symbols
