	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iforce_usb_xmit                ## -- Begin function iforce_usb_xmit
	.p2align	4, 0x90
_iforce_usb_xmit:                       ## @iforce_usb_xmit
	.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	%rdi, %rbx
	callq	_spin_lock_irqsave
	movq	40(%rbx), %rax
	cmpq	%rax, 32(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_IFORCE_XMIT_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_clear_bit
	jmp	LBB0_6
LBB0_2:
	movq	24(%rbx), %rcx
	movq	48(%rbx), %rdx
	movb	(%rdx,%rax), %al
	movq	8(%rcx), %rcx
	movb	%al, (%rcx)
	movq	40(%rbx), %rdi
	movl	$1, %esi
	callq	_XMIT_INC
	movq	40(%rbx), %rdi
	movq	48(%rbx), %rax
	movsbl	(%rax,%rdi), %r14d
	movl	$1, %esi
	callq	_XMIT_INC
	leal	1(%r14), %eax
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	56(%rbx), %eax
	movl	%eax, 16(%rcx)
	movq	32(%rbx), %rdi
	movq	40(%rbx), %rsi
	movq	_XMIT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CIRC_CNT_TO_END
	movl	%eax, %r12d
	cmpl	%r14d, %eax
	movl	%r14d, %r15d
	cmovll	%eax, %r15d
	movq	24(%rbx), %rax
	movq	48(%rbx), %rsi
	movq	8(%rax), %rdi
	incq	%rdi
	addq	40(%rbx), %rsi
	movl	%r15d, %edx
	callq	_memcpy
	cmpl	%r14d, %r12d
	jge	LBB0_4
## %bb.3:
	movq	24(%rbx), %rax
	movq	48(%rbx), %rsi
	movq	8(%rax), %rax
	movslq	%r15d, %rcx
	leaq	(%rcx,%rax), %rdi
	incq	%rdi
	movl	%r14d, %edx
	subl	%r15d, %edx
	callq	_memcpy
LBB0_4:
	movq	40(%rbx), %rdi
	movl	%r14d, %esi
	callq	_XMIT_INC
	movq	24(%rbx), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	movq	_IFORCE_XMIT_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_clear_bit
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_warn
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFORCE_XMIT_RUNNING,4,2        ## @IFORCE_XMIT_RUNNING
	.comm	_XMIT_SIZE,4,2                  ## @XMIT_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usb_submit_urb failed %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iforce_usb_xmit                ; -- Begin function iforce_usb_xmit
	.p2align	2
_iforce_usb_xmit:                       ; @iforce_usb_xmit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_spin_lock_irqsave
	ldp	x9, x8, [x19, #32]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IFORCE_XMIT_RUNNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFORCE_XMIT_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_clear_bit
	b	LBB0_6
LBB0_2:
	ldr	x9, [x19, #48]
	ldrb	w8, [x9, x8]
	ldr	x9, [x19, #24]
	ldr	x9, [x9, #8]
	strb	w8, [x9]
	ldr	x0, [x19, #40]
	mov	w1, #1
	bl	_XMIT_INC
	ldp	x0, x8, [x19, #40]
	ldrsb	w20, [x8, x0]
	mov	w1, #1
	bl	_XMIT_INC
	add	w8, w20, #1
	ldp	x9, x0, [x19, #24]
	str	w8, [x9]
	ldr	w8, [x19, #56]
	str	w8, [x9, #16]
	ldr	x1, [x19, #40]
Lloh3:
	adrp	x8, _XMIT_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XMIT_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_CIRC_CNT_TO_END
	mov	x22, x0
	cmp	w0, w20
	csel	w21, w0, w20, lt
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	add	x0, x8, #1
	ldp	x9, x8, [x19, #40]
	add	x1, x8, x9
	mov	x2, x21
	bl	_memcpy
	cmp	w22, w20
	b.ge	LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	add	x8, x8, w21, sxtw
	add	x0, x8, #1
	ldr	x1, [x19, #48]
	sub	w2, w20, w21
	bl	_memcpy
LBB0_4:
	ldr	x0, [x19, #40]
	mov	x1, x20
	bl	_XMIT_INC
	ldr	x0, [x19, #24]
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
Lloh9:
	adrp	x8, _IFORCE_XMIT_RUNNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFORCE_XMIT_RUNNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_clear_bit
	ldr	x0, [x19, #8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_warn
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IFORCE_XMIT_RUNNING,4,2        ; @IFORCE_XMIT_RUNNING
	.comm	_XMIT_SIZE,4,2                  ; @XMIT_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usb_submit_urb failed %d\n"

.subsections_via_symbols
