	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_usb_tx_init
_mwifiex_usb_tx_init:                   ## @mwifiex_usb_tx_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
	subq	$40, %rsp
	.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, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, 24(%r15)
	movl	32(%r15), %eax
	movl	%eax, 16(%r15)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	_MWIFIEX_TX_DATA_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.2:
	xorl	%edx, %edx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, 40(%rcx,%rdx,8)
	movq	%r13, 32(%rcx,%rdx,8)
	movl	$0, 16(%rcx,%rdx,8)
	movq	$0, 24(%rcx,%rdx,8)
	leaq	(%rcx,%rdx,8), %rdi
	addq	$20, %rdi
	movq	_mwifiex_usb_tx_aggr_tmo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_MWIFIEX_TX_DATA_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%r15), %r14
	leaq	(%rdx,%rdx,8), %rbx
	cmpq	$0, (%r14,%rbx,8)
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rbx,8), %r13
	movq	$0, 64(%r14,%rbx,8)
	leaq	(%r14,%rbx,8), %rdi
	addq	$48, %rdi
	callq	_skb_queue_head_init
	movq	(%r13), %rax
	xorl	%ecx, %ecx
	movq	_MWIFIEX_USB_EP_DATA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%cl
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, 8(%r14,%rbx,8)
	movq	_MWIFIEX_TX_DATA_URB@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	56(%r14,%rbx,8), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 16(%rcx)
	movq	%rax, (%rcx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	56(%r14,%rbx,8), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rax,%rdx,8), %r14
	addq	$56, %r14
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r12
	movq	_MWIFIEX_TX_DATA_URB@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jge	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	leaq	24(%rbx), %r15
	movq	(%r13), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 40(%rcx,%rbx)
	movq	%rax, 24(%rcx,%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	(%r14), %rcx
	movq	%rax, 32(%rcx,%rbx)
	movq	%r15, %rbx
	testq	%rax, %rax
	jne	LBB0_7
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MWIFIEX_TX_DATA_PORT,4,2       ## @MWIFIEX_TX_DATA_PORT
	.comm	_MWIFIEX_USB_EP_DATA,8,3        ## @MWIFIEX_USB_EP_DATA
	.comm	_MWIFIEX_TX_DATA_URB,4,2        ## @MWIFIEX_TX_DATA_URB
	.comm	_mwifiex_usb_tx_aggr_tmo,4,2    ## @mwifiex_usb_tx_aggr_tmo
	.no_dead_strip	_mwifiex_usb_tx_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_tx_init
_mwifiex_usb_tx_init:                   ; @mwifiex_usb_tx_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0]
	str	x0, [x20, #24]
	ldr	w8, [x20, #32]
	str	w8, [x20, #16]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x20, #8]
	cbz	x0, LBB0_11
; %bb.1:
Lloh3:
	adrp	x8, _MWIFIEX_TX_DATA_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MWIFIEX_TX_DATA_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.2:
	mov	x23, #0
	mov	w21, #72
Lloh6:
	adrp	x26, _MWIFIEX_TX_DATA_URB@GOTPAGE
Lloh7:
	ldr	x26, [x26, _MWIFIEX_TX_DATA_URB@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w21, #72
	madd	x8, x23, x21, x27
	stp	x28, x19, [x8, #32]
	str	wzr, [x8, #16]
	str	xzr, [x8, #24]
	add	x0, x8, #20
Lloh8:
	adrp	x8, _mwifiex_usb_tx_aggr_tmo@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mwifiex_usb_tx_aggr_tmo@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
Lloh11:
	adrp	x8, _MWIFIEX_TX_DATA_PORT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MWIFIEX_TX_DATA_PORT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x27, [x20]
	madd	x28, x23, x21, x27
	ldr	x9, [x28]
	cbz	x9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w21, #72
	mov	w8, #72
	madd	x22, x23, x8, x27
	str	xzr, [x22, #64]
	add	x0, x22, #48
	bl	_skb_queue_head_init
	ldr	x8, [x28]
Lloh14:
	adrp	x9, _MWIFIEX_USB_EP_DATA@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MWIFIEX_USB_EP_DATA@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w9, ne
	str	w9, [x22, #8]
	ldr	w9, [x26]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x25, x23, x21, x27
	ldr	x9, [x25, #56]!
	str	x19, [x9, #16]
	str	x8, [x9]
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_usb_alloc_urb
	ldr	x8, [x25]
	str	x0, [x8, #8]
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, #0
	mov	x24, #0
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x24, x24, #1
	ldrsw	x9, [x26]
	cmp	x24, x9
	b.ge	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x21, x22, #24
	ldr	x9, [x28]
	add	x8, x8, x22
	str	x19, [x8, #40]
	str	x9, [x8, #24]
Lloh20:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_usb_alloc_urb
	ldr	x8, [x25]
	add	x9, x8, x22
	str	x0, [x9, #32]
	mov	x22, x21
	cbnz	x0, LBB0_9
LBB0_11:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MWIFIEX_TX_DATA_PORT,4,2       ; @MWIFIEX_TX_DATA_PORT
	.comm	_MWIFIEX_USB_EP_DATA,8,3        ; @MWIFIEX_USB_EP_DATA
	.comm	_MWIFIEX_TX_DATA_URB,4,2        ; @MWIFIEX_TX_DATA_URB
	.comm	_mwifiex_usb_tx_aggr_tmo,4,2    ; @mwifiex_usb_tx_aggr_tmo
	.no_dead_strip	_mwifiex_usb_tx_init
.subsections_via_symbols
