	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_rx_slot
_free_rx_slot:                          ## @free_rx_slot
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	leaq	(%rsi,%rsi,2), %r13
	leaq	(%r12,%r13,8), %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	16(%r12,%r13,8), %esi
	movl	%ebx, %edi
	callq	_clear_bit
	movq	8(%r12,%r13,8), %rax
	movslq	%ebx, %rcx
	shlq	$4, %rcx
	movl	$0, (%rax,%rcx)
	movq	8(%rax,%rcx), %rbx
	movq	$0, 8(%rax,%rcx)
	leaq	(%rax,%rcx), %rdi
	addq	$4, %rdi
	callq	_reinit_completion
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	(%r14), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_3:
	leaq	(%r12,%r13,8), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up_interruptible          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to resubmit RX URB: %d\n"

	.no_dead_strip	_free_rx_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_rx_slot
_free_rx_slot:                          ; @free_rx_slot
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	mov	w8, #24
	madd	x24, x1, x8, x23
	add	x22, x24, #4
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w1, [x24, #16]
	mov	x0, x21
	bl	_clear_bit
	ldr	x8, [x24, #8]
	add	x8, x8, w21, sxtw #4
	str	wzr, [x8]
	ldr	x21, [x8, #8]
	str	xzr, [x8, #8]
	add	x0, x8, #4
	bl	_reinit_completion
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	cbz	x21, LBB0_3
; %bb.1:
	ldr	x20, [x20]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_usb_submit_urb
	tbz	w0, #31, LBB0_3
; %bb.2:
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_3:
	mov	w8, #24
	madd	x0, x19, x8, x23
	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
	b	_wake_up_interruptible
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to resubmit RX URB: %d\n"

	.no_dead_strip	_free_rx_slot
.subsections_via_symbols
