	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_usb_free
_mwifiex_usb_free:                      ## @mwifiex_usb_free
	.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
	addq	$40, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_usb_kill_urb
LBB0_3:
	movq	32(%r15), %rdi
	callq	_usb_free_urb
	movq	$0, 32(%r15)
	leaq	24(%r15), %rdi
	callq	_atomic_read
	movq	_MWIFIEX_RX_DATA_URB@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	%ecx, %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_usb_kill_urb
	movl	(%r14), %ecx
	jmp	LBB0_8
LBB0_9:
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.10:
	movq	16(%r15), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rbx,8), %rdi
	callq	_usb_free_urb
	movq	16(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_11
LBB0_12:
	movq	_MWIFIEX_TX_DATA_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_19
## %bb.13:
	movq	_MWIFIEX_TX_DATA_URB@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	xorl	%r13d, %r13d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r13
	movslq	%ecx, %rdx
	cmpq	%rdx, %r13
	jge	LBB0_19
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	testl	%eax, %eax
	jle	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%r15), %rbx
	movq	(%rbx,%r13,8), %rcx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%r14,8), %rdi
	callq	_usb_kill_urb
	movq	(%rbx,%r13,8), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_usb_free_urb
	movq	(%rbx,%r13,8), %rcx
	movq	$0, (%rcx,%r14,8)
	incq	%r14
	movslq	(%r12), %rax
	cmpq	%rax, %r14
	jl	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_MWIFIEX_TX_DATA_PORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_18
LBB0_19:
	movq	(%r15), %rdi
	callq	_usb_free_urb
	movq	$0, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_RX_DATA_URB,4,2        ## @MWIFIEX_RX_DATA_URB
	.comm	_MWIFIEX_TX_DATA_PORT,4,2       ## @MWIFIEX_TX_DATA_PORT
	.comm	_MWIFIEX_TX_DATA_URB,4,2        ## @MWIFIEX_TX_DATA_URB
	.no_dead_strip	_mwifiex_usb_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_usb_free
_mwifiex_usb_free:                      ; @mwifiex_usb_free
	.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
	add	x0, x0, #40
	bl	_atomic_read
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_usb_kill_urb
LBB0_3:
	ldr	x0, [x19, #32]
	bl	_usb_free_urb
	str	xzr, [x19, #32]
	add	x0, x19, #24
	bl	_atomic_read
Lloh0:
	adrp	x20, _MWIFIEX_RX_DATA_URB@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MWIFIEX_RX_DATA_URB@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	x0, LBB0_9
; %bb.4:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x21, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	x0, [x9, x21, lsl #3]
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_usb_kill_urb
	ldr	w8, [x20]
	b	LBB0_6
LBB0_9:
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x21, #0
	ldr	x8, [x19, #16]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	lsl	x22, x21, #3
	ldr	x0, [x8, x22]
	bl	_usb_free_urb
	ldr	x8, [x19, #16]
	str	xzr, [x8, x22]
	add	x21, x21, #1
	ldrsw	x9, [x20]
	cmp	x21, x9
	b.lt	LBB0_11
LBB0_12:
Lloh2:
	adrp	x20, _MWIFIEX_TX_DATA_PORT@GOTPAGE
Lloh3:
	ldr	x20, [x20, _MWIFIEX_TX_DATA_PORT@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.13:
	mov	x21, #0
Lloh4:
	adrp	x22, _MWIFIEX_TX_DATA_URB@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MWIFIEX_TX_DATA_URB@GOTPAGEOFF]
	ldr	w8, [x22]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x21, x21, #1
	cmp	x21, w9, sxtw
	b.ge	LBB0_19
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, #0
	ldr	x24, [x19, #8]
	ldr	x9, [x24, x21, lsl #3]
LBB0_17:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x25, x23, #3
	ldr	x0, [x9, x25]
	bl	_usb_kill_urb
	lsl	x26, x21, #3
	ldr	x8, [x24, x26]
	ldr	x0, [x8, x25]
	bl	_usb_free_urb
	ldr	x9, [x24, x26]
	str	xzr, [x9, x25]
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w9, [x20]
	b	LBB0_14
LBB0_19:
	ldr	x0, [x19]
	bl	_usb_free_urb
	str	xzr, [x19]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_RX_DATA_URB,4,2        ; @MWIFIEX_RX_DATA_URB
	.comm	_MWIFIEX_TX_DATA_PORT,4,2       ; @MWIFIEX_TX_DATA_PORT
	.comm	_MWIFIEX_TX_DATA_URB,4,2        ; @MWIFIEX_TX_DATA_URB
	.no_dead_strip	_mwifiex_usb_free
.subsections_via_symbols
