	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_usb_rx_complete
_brcmf_usb_rx_complete:                 ## @brcmf_usb_rx_complete
	.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
	movq	(%rdi), %rdx
	movq	16(%rdi), %r12
	movq	8(%r12), %r14
	movq	_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_brcmf_usb_del_fromq
	movq	(%r12), %r15
	movq	$0, (%r12)
	cmpq	$0, (%rbx)
	je	LBB0_1
LBB0_3:
	movq	%r15, %rdi
	callq	_brcmu_pkt_buf_free_skb
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_usb_enq                  ## TAILCALL
LBB0_1:
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	8(%r14), %rax
	movq	_BRCMFMAC_USB_STATE_UP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_skb_put
	movl	4(%r14), %edi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_brcmf_rx_frame
	movq	%r14, %rdi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_usb_rx_refill            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB,4,2                        ## @USB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter, urb->status=%d\n"

	.comm	_BRCMFMAC_USB_STATE_UP,8,3      ## @BRCMFMAC_USB_STATE_UP
	.no_dead_strip	_brcmf_usb_rx_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_usb_rx_complete
_brcmf_usb_rx_complete:                 ; @brcmf_usb_rx_complete
	.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	x22, x0
	ldr	x19, [x0, #16]
	ldr	x20, [x19, #8]
Lloh0:
	adrp	x8, _USB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x22]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x20
	mov	x1, x19
	bl	_brcmf_usb_del_fromq
	ldr	x21, [x19]
	str	xzr, [x19]
	ldr	x8, [x22]
	cbz	x8, LBB0_2
LBB0_1:
	mov	x0, x21
	bl	_brcmu_pkt_buf_free_skb
	mov	x0, x20
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	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	_brcmf_usb_enq
LBB0_2:
	ldr	w1, [x22, #8]
	cbz	w1, LBB0_1
; %bb.3:
	ldr	x8, [x20, #8]
Lloh5:
	adrp	x9, _BRCMFMAC_USB_STATE_UP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BRCMFMAC_USB_STATE_UP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.4:
	mov	x0, x21
	bl	_skb_put
	ldr	w0, [x20, #4]
	mov	x1, x21
	mov	w2, #1
	bl	_brcmf_rx_frame
	mov	x0, x20
	mov	x1, 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	_brcmf_usb_rx_refill
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_USB,4,2                        ; @USB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter, urb->status=%d\n"

	.comm	_BRCMFMAC_USB_STATE_UP,8,3      ; @BRCMFMAC_USB_STATE_UP
	.no_dead_strip	_brcmf_usb_rx_complete
.subsections_via_symbols
