	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ub_scsi_cmd_start
_ub_scsi_cmd_start:                     ## @ub_scsi_cmd_start
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	32(%rdi), %r15
	addq	$28, %rdi
	movq	_UB_SENSE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_memset
	movq	_US_BULK_CB_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 64(%rbx)
	movl	36(%r14), %eax
	movl	%eax, 56(%rbx)
	movl	32(%r14), %edi
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
	movq	(%r14), %rax
	movq	_UB_DIR_READ@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	shll	$7, %edx
	movl	%edx, 32(%rbx)
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %r12d
LBB0_2:
	movl	%r12d, 44(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 40(%rbx)
	movl	36(%rbx), %edi
	movl	12(%r14), %esi
	movq	_UB_MAX_CDB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	8(%rbx), %edi
	callq	_UB_INIT_COMPLETION
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movl	%edx, 24(%rbx)
	leaq	12(%rbx), %r12
	movq	_US_BULK_CB_WRAP_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ub_urb_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rcx
	callq	_usb_fill_bulk_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_usb_submit_urb
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_ub_complete
	jmp	LBB0_5
LBB0_4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_UB_URB_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%rbx, %rdi
	callq	_add_timer
	movq	_UB_CMDST_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UB_SENSE_SIZE,4,2              ## @UB_SENSE_SIZE
	.comm	_US_BULK_CB_SIGN,4,2            ## @US_BULK_CB_SIGN
	.comm	_UB_DIR_READ,8,3                ## @UB_DIR_READ
	.comm	_UB_MAX_CDB_SIZE,4,2            ## @UB_MAX_CDB_SIZE
	.comm	_US_BULK_CB_WRAP_LEN,4,2        ## @US_BULK_CB_WRAP_LEN
	.comm	_ub_urb_complete,4,2            ## @ub_urb_complete
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_UB_URB_TIMEOUT,8,3             ## @UB_URB_TIMEOUT
	.comm	_UB_CMDST_CMD,4,2               ## @UB_CMDST_CMD
	.no_dead_strip	_ub_scsi_cmd_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ub_scsi_cmd_start
_ub_scsi_cmd_start:                     ; @ub_scsi_cmd_start
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	add	x0, x0, #28
Lloh0:
	adrp	x8, _UB_SENSE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UB_SENSE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
Lloh3:
	adrp	x8, _US_BULK_CB_SIGN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _US_BULK_CB_SIGN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x20, #64]
	ldp	w0, w8, [x19, #32]
	str	w8, [x20, #56]
	bl	_cpu_to_le32
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _UB_DIR_READ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UB_DIR_READ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	lsl	w8, w8, #7
	mov	x21, x20
	str	w8, [x21, #32]!
	str	x0, [x21, #16]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x8]
LBB0_2:
	ldp	w1, w9, [x19, #12]
	stp	w9, w8, [x20, #40]
	ldr	w0, [x20, #36]
Lloh9:
	adrp	x8, _UB_MAX_CDB_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UB_MAX_CDB_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x22, x20
	ldr	w0, [x22, #8]!
	bl	_UB_INIT_COMPLETION
	ldp	w2, w1, [x20, #16]
	str	w2, [x20, #24]
	add	x23, x20, #12
Lloh12:
	adrp	x8, _US_BULK_CB_WRAP_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _US_BULK_CB_WRAP_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
Lloh15:
	adrp	x8, _ub_urb_complete@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ub_urb_complete@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	mov	x0, x23
	mov	x3, x21
	mov	x6, x20
	bl	_usb_fill_bulk_urb
Lloh18:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_usb_submit_urb
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_ub_complete
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _jiffies@GOTPAGE
Lloh22:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _UB_URB_TIMEOUT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _UB_URB_TIMEOUT@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x20]
	mov	x0, x20
	bl	_add_timer
Lloh27:
	adrp	x8, _UB_CMDST_CMD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _UB_CMDST_CMD@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_5:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_UB_SENSE_SIZE,4,2              ; @UB_SENSE_SIZE
	.comm	_US_BULK_CB_SIGN,4,2            ; @US_BULK_CB_SIGN
	.comm	_UB_DIR_READ,8,3                ; @UB_DIR_READ
	.comm	_UB_MAX_CDB_SIZE,4,2            ; @UB_MAX_CDB_SIZE
	.comm	_US_BULK_CB_WRAP_LEN,4,2        ; @US_BULK_CB_WRAP_LEN
	.comm	_ub_urb_complete,4,2            ; @ub_urb_complete
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_UB_URB_TIMEOUT,8,3             ; @UB_URB_TIMEOUT
	.comm	_UB_CMDST_CMD,4,2               ; @UB_CMDST_CMD
	.no_dead_strip	_ub_scsi_cmd_start
.subsections_via_symbols
