	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_usb_receive
__rtl_usb_receive:                      ## @_rtl_usb_receive
	.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
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_rtl_usbpriv
	movl	%eax, %edi
	callq	_rtl_usbdev
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_WARN_ON
	xorl	%edi, %edi
	cmpl	$1600, 4(%r12)                  ## imm = 0x640
	setl	%dil
	callq	_WARN_ON
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.1:
	movq	%r12, %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movl	(%r15), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	__rtl_prep_rx_urb
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_usb_anchor_urb
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_usb_free_urb
	incl	%r14d
	cmpl	(%r12), %r14d
	jl	LBB0_2
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_8:
	negl	%ebx
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	%r13, %rdi
	callq	_usb_free_urb
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_usb_kill_anchored_urbs
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	__rtl_usb_cleanup_rx
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to prep_rx_urb!!\n"

	.no_dead_strip	__rtl_usb_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_usb_receive
__rtl_usb_receive:                      ; @_rtl_usb_receive
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_rtl_usbpriv
	bl	_rtl_usbdev
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w8, [x21, #4]
	cmp	w8, #1600
	cset	w0, lt
	bl	_WARN_ON
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w24, #0
	add	x20, x21, #8
Lloh0:
	adrp	x25, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ENOMEM@GOTPAGEOFF]
Lloh2:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x25]
	ldr	w1, [x26]
	mov	w0, #0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	ldr	w3, [x26]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	__rtl_prep_rx_urb
	tbnz	w0, #31, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_usb_anchor_urb
	ldr	w1, [x26]
	mov	x0, x23
	bl	_usb_submit_urb
	cbnz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_usb_free_urb
	add	w24, w24, #1
	ldr	w8, [x21]
	cmp	w24, w8
	b.lt	LBB0_2
LBB0_6:
	mov	w22, #0
	b	LBB0_11
LBB0_7:
	neg	w22, w22
	b	LBB0_10
LBB0_8:
	mov	x22, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	x0, x23
	bl	_usb_free_urb
	b	LBB0_10
LBB0_9:
	mov	x22, x0
LBB0_10:
	mov	x0, x20
	bl	_usb_kill_anchored_urbs
	mov	x0, x19
	bl	__rtl_usb_cleanup_rx
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to prep_rx_urb!!\n"

	.no_dead_strip	__rtl_usb_receive
.subsections_via_symbols
