	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8xxxu_submit_rx_urb
_rtl8xxxu_submit_rx_urb:                ## @rtl8xxxu_submit_rx_urb
	.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, %rbx
	movq	24(%rdi), %rax
	movl	(%rax), %r13d
	cmpq	$0, 16(%rdi)
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	movl	4(%rax), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leal	(%rax,%r13), %r12d
	addl	$4, %r12d
	jmp	LBB0_4
LBB0_3:
	movq	_IEEE80211_MAX_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	___netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movl	(%r14), %ecx
	movq	_rtl8xxxu_rx_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, (%rsp)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r12d, %r8d
	callq	_usb_fill_bulk_urb
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_usb_anchor_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_usb_unanchor_urb
	movl	%ebx, %r15d
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MAX_FRAME_LEN,4,2    ## @IEEE80211_MAX_FRAME_LEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rtl8xxxu_rx_complete,4,2       ## @rtl8xxxu_rx_complete
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_rtl8xxxu_submit_rx_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8xxxu_submit_rx_urb
_rtl8xxxu_submit_rx_urb:                ; @rtl8xxxu_submit_rx_urb
	.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
	ldp	x9, x8, [x0, #16]
	ldr	w22, [x8]
	cbz	x9, LBB0_3
; %bb.1:
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_3
; %bb.2:
	add	w8, w22, w8
	add	w21, w8, #4
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _IEEE80211_MAX_FRAME_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MAX_FRAME_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_4:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, x21
	bl	___netdev_alloc_skb
	cbz	x0, LBB0_7
; %bb.5:
	mov	x23, x0
	ldr	w0, [x0]
	mov	w1, #0
	mov	x2, x22
	bl	_memset
	ldp	w2, w1, [x20, #4]
	ldr	w3, [x23]
Lloh6:
	adrp	x8, _rtl8xxxu_rx_complete@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rtl8xxxu_rx_complete@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x4, x21
	mov	x6, x23
	bl	_usb_fill_bulk_urb
	mov	x0, x19
	mov	x1, x20
	bl	_usb_anchor_urb
Lloh9:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usb_submit_urb
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_usb_unanchor_urb
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MAX_FRAME_LEN,4,2    ; @IEEE80211_MAX_FRAME_LEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rtl8xxxu_rx_complete,4,2       ; @rtl8xxxu_rx_complete
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_rtl8xxxu_submit_rx_urb
.subsections_via_symbols
