	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function req_submit
_req_submit:                            ## @req_submit
	.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	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%esi, %edx
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	8(%rax), %r14
	movq	_DEBUG_USBREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_gig_dbg
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%r14)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%r13), %rax
	movl	(%rax), %edi
	movl	(%r14), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_OUT_VENDOR_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	48(%r14), %r15
	movl	%eax, 76(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 48(%r14)
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movl	%eax, 72(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r14)
	movl	32(%r14), %r12d
	movl	80(%r14), %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
	movq	_write_ctrl_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%r10
	callq	_usb_fill_control_urb
	addq	$16, %rsp
	movq	$0, 40(%r14)
	movl	32(%r14), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r13), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_get_usb_rcmsg
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	callq	_dev_err
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	jmp	LBB0_7
LBB0_4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.5:
	movq	_DEBUG_USBREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_gig_dbg
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	imull	(%rcx), %ebx
	movslq	%ebx, %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	leaq	8(%r14), %rdi
	movq	%rcx, 24(%r14)
	movq	%r13, 8(%r14)
	movq	_req_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	callq	_add_timer
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_USBREQ,4,2               ## @DEBUG_USBREQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-------> 0x%02x (%d)"

L_.str.1:                               ## @.str.1
	.asciz	"submission of request 0x%02x failed: request 0x%02x still pending\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_OUT_VENDOR_REQ,4,2             ## @OUT_VENDOR_REQ
	.comm	_write_ctrl_callback,4,2        ## @write_ctrl_callback
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.2:                               ## @.str.2
	.asciz	"could not submit request 0x%02x: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"setting timeout of %d/10 secs"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_req_timeout,4,2                ## @req_timeout
	.no_dead_strip	_req_submit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function req_submit
_req_submit:                            ; @req_submit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x24, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x20, [x8, #8]
Lloh0:
	adrp	x27, _DEBUG_USBREQ@GOTPAGE
Lloh1:
	ldr	x27, [x27, _DEBUG_USBREQ@GOTPAGEOFF]
	ldr	w0, [x27]
	str	x24, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_gig_dbg
	add	x19, x20, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x8, [x21]
	ldr	w0, [x8]
	ldr	w3, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_dev_err
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_7
LBB0_2:
Lloh9:
	adrp	x8, _OUT_VENDOR_REQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OUT_VENDOR_REQ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #76]
	mov	x25, x20
	str	w22, [x25, #48]!
	mov	x0, x24
	bl	_cpu_to_le16
	str	w0, [x20, #72]
	stp	xzr, xzr, [x20, #56]
	ldr	w24, [x20, #32]
	ldr	w26, [x20, #80]
	mov	x0, x26
	mov	w1, #0
	bl	_usb_sndctrlpipe
	mov	x2, x0
Lloh12:
	adrp	x8, _write_ctrl_callback@GOTPAGE
Lloh13:
	ldr	x8, [x8, _write_ctrl_callback@GOTPAGEOFF]
Lloh14:
	ldr	w6, [x8]
	mov	x0, x24
	mov	x1, x26
	mov	x3, x25
	mov	x4, #0
	mov	w5, #0
	mov	x7, x20
	bl	_usb_fill_control_urb
	str	xzr, [x20, #40]
	ldr	w0, [x20, #32]
Lloh15:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	mov	x24, x0
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	w20, [x8]
	mov	x0, x24
	bl	_get_usb_rcmsg
	mov	x3, x0
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_dev_err
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	b	LBB0_7
LBB0_4:
	str	w22, [x20]
	cmp	w23, #1
	b.lt	LBB0_6
; %bb.5:
	ldr	w0, [x27]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x23
	bl	_gig_dbg
Lloh22:
	adrp	x8, _jiffies@GOTPAGE
Lloh23:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _HZ@GOTPAGE
Lloh26:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	mul	w9, w9, w23
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	str	x21, [x20, #8]!
	add	x8, x8, w9, sxtw
	str	x8, [x20, #16]
Lloh28:
	adrp	x8, _req_timeout@GOTPAGE
Lloh29:
	ldr	x8, [x8, _req_timeout@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_add_timer
LBB0_6:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w24, #0
LBB0_7:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_USBREQ,4,2               ; @DEBUG_USBREQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-------> 0x%02x (%d)"

l_.str.1:                               ; @.str.1
	.asciz	"submission of request 0x%02x failed: request 0x%02x still pending\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_OUT_VENDOR_REQ,4,2             ; @OUT_VENDOR_REQ
	.comm	_write_ctrl_callback,4,2        ; @write_ctrl_callback
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.2:                               ; @.str.2
	.asciz	"could not submit request 0x%02x: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"setting timeout of %d/10 secs"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_req_timeout,4,2                ; @req_timeout
	.no_dead_strip	_req_submit
.subsections_via_symbols
