	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_usb_rx_refill
_brcmf_usb_rx_refill:                   ## @brcmf_usb_rx_refill
	.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
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, (%r14)
	movl	8(%r14), %r15d
	movl	8(%rbx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	12(%rbx), %r13d
	movl	(%rax), %r12d
	movq	%rax, %rdi
	callq	_skb_tailroom
	movq	_brcmf_usb_rx_complete@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, (%rsp)
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_usb_fill_bulk_urb
	movq	%rbx, 16(%r14)
	leaq	4(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_brcmf_usb_enq
	movl	8(%r14), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_brcmf_usb_del_fromq
	movq	(%r14), %rdi
	callq	_brcmu_pkt_buf_free_skb
	movq	$0, (%r14)
LBB0_5:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_brcmf_usb_enq                  ## TAILCALL
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_brcmf_usb_rx_complete,4,2      ## @brcmf_usb_rx_complete
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_brcmf_usb_rx_refill
.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_refill
_brcmf_usb_rx_refill:                   ; @brcmf_usb_rx_refill
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	w0, [x0, #16]
	bl	_dev_alloc_skb
	cbz	x0, LBB0_5
; %bb.3:
	str	x0, [x19]
	ldr	w21, [x19, #8]
	ldp	w23, w22, [x20, #8]
	ldr	w24, [x0]
	bl	_skb_tailroom
	mov	x4, x0
Lloh0:
	adrp	x8, _brcmf_usb_rx_complete@GOTPAGE
Lloh1:
	ldr	x8, [x8, _brcmf_usb_rx_complete@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x6, x19
	bl	_usb_fill_bulk_urb
	str	x20, [x19, #16]
	add	x1, x20, #4
	mov	x0, x20
	mov	x2, x19
	mov	x3, #0
	bl	_brcmf_usb_enq
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_brcmf_usb_del_fromq
	ldr	x0, [x19]
	bl	_brcmu_pkt_buf_free_skb
	str	xzr, [x19]
LBB0_5:
	mov	x0, x20
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	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	_brcmf_usb_enq
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_brcmf_usb_rx_complete,4,2      ; @brcmf_usb_rx_complete
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_brcmf_usb_rx_refill
.subsections_via_symbols
