	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_usb_rx_init
_mwifiex_usb_rx_init:                   ## @mwifiex_usb_rx_init
	.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
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	%rdi, 32(%rbx)
	movl	48(%rbx), %eax
	movl	%eax, 24(%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	_MWIFIEX_RX_CMD_BUF_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_dev_alloc_skb
	movl	%eax, 40(%rbx)
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	leaq	16(%rbx), %rdi
	movl	(%r14), %esi
	callq	_mwifiex_usb_submit_rx_urb
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	movq	_MWIFIEX_RX_DATA_URB@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_13
## %bb.4:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	%r15, 16(%rax,%r13)
	movl	8(%rbx), %ecx
	movl	%ecx, 8(%rax,%r13)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	(%rbx), %rdi
	movq	%rax, (%rdi,%r13)
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	%r13, %rdi
	movq	_MWIFIEX_RX_DATA_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mwifiex_usb_submit_rx_urb
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movq	_MWIFIEX_RX_DATA_URB@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$32, %r13
	cmpq	%rax, %r12
	jl	LBB0_5
LBB0_13:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
LBB0_11:
	subl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MWIFIEX_RX_CMD_BUF_SIZE,4,2    ## @MWIFIEX_RX_CMD_BUF_SIZE
	.comm	_MWIFIEX_RX_DATA_URB,4,2        ## @MWIFIEX_RX_DATA_URB
	.comm	_MWIFIEX_RX_DATA_BUF_SIZE,4,2   ## @MWIFIEX_RX_DATA_BUF_SIZE
	.no_dead_strip	_mwifiex_usb_rx_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_usb_rx_init
_mwifiex_usb_rx_init:                   ; @mwifiex_usb_rx_init
	.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
	ldr	x21, [x0]
	str	x0, [x21, #32]
	ldr	w8, [x21, #48]
	str	w8, [x21, #24]
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #0
	bl	_usb_alloc_urb
	mov	x20, x21
	str	x0, [x20, #16]!
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x23, _MWIFIEX_RX_CMD_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MWIFIEX_RX_CMD_BUF_SIZE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_dev_alloc_skb
	str	w0, [x21, #40]
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_mwifiex_usb_submit_rx_urb
	cbz	x0, LBB0_6
LBB0_3:
	mov	w0, #-1
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
LBB0_6:
Lloh7:
	adrp	x20, _MWIFIEX_RX_DATA_URB@GOTPAGE
Lloh8:
	ldr	x20, [x20, _MWIFIEX_RX_DATA_URB@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x23, #0
	mov	x24, #0
Lloh9:
	adrp	x25, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x23
	str	x19, [x8, #16]
	ldr	w9, [x21, #8]
	str	w9, [x8, #8]
	ldr	w1, [x22]
	mov	w0, #0
	bl	_usb_alloc_urb
	ldr	x8, [x21]
	str	x0, [x8, x23]
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x8, x23
	ldr	w1, [x25]
	bl	_mwifiex_usb_submit_rx_urb
	cbnz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20]
	add	x23, x23, #32
	cmp	x24, x8
	b.lt	LBB0_8
LBB0_11:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MWIFIEX_RX_CMD_BUF_SIZE,4,2    ; @MWIFIEX_RX_CMD_BUF_SIZE
	.comm	_MWIFIEX_RX_DATA_URB,4,2        ; @MWIFIEX_RX_DATA_URB
	.comm	_MWIFIEX_RX_DATA_BUF_SIZE,4,2   ; @MWIFIEX_RX_DATA_BUF_SIZE
	.no_dead_strip	_mwifiex_usb_rx_init
.subsections_via_symbols
