	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54u_load_firmware_cb
_p54u_load_firmware_cb:                 ## @p54u_load_firmware_cb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	16(%rsi), %r15
	movq	24(%rsi), %r14
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, 8(%rbx)
	movq	%rbx, %rdi
	callq	_p54u_start_ops
	movl	%eax, %r12d
	jmp	LBB0_3
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_3:
	movq	%rbx, %rdi
	callq	_complete
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r14, %rdi
	callq	_usb_lock_device
	movq	_p54u_driver@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_usb_driver_release_interface
	movq	%r14, %rdi
	callq	_usb_unlock_device
LBB0_5:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usb_put_intf                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Firmware not found.\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to initialize device (%d)\n"

	.comm	_p54u_driver,4,2                ## @p54u_driver
	.no_dead_strip	_p54u_load_firmware_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54u_load_firmware_cb
_p54u_load_firmware_cb:                 ; @p54u_load_firmware_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	ldp	x19, x20, [x1, #16]
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [x21, #8]
	mov	x0, x21
	bl	_p54u_start_ops
	mov	x22, x0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_3:
	mov	x0, x21
	bl	_complete
	cbz	w22, LBB0_5
; %bb.4:
	str	x22, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	bl	_usb_lock_device
Lloh7:
	adrp	x0, _p54u_driver@GOTPAGE
Lloh8:
	ldr	x0, [x0, _p54u_driver@GOTPAGEOFF]
	mov	x1, x19
	bl	_usb_driver_release_interface
	mov	x0, x20
	bl	_usb_unlock_device
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_usb_put_intf
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Firmware not found.\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to initialize device (%d)\n"

	.comm	_p54u_driver,4,2                ; @p54u_driver
	.no_dead_strip	_p54u_load_firmware_cb
.subsections_via_symbols
