	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8xxxu_start
_rtl8xxxu_start:                        ## @rtl8xxxu_start
	.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, %rbx
	movq	(%rdi), %r15
	leaq	48(%r15), %rdi
	callq	_init_usb_anchor
	leaq	44(%r15), %rdi
	callq	_init_usb_anchor
	leaq	40(%r15), %rdi
	callq	_init_usb_anchor
	movq	32(%r15), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	cmpq	$0, 24(%r15)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_rtl8xxxu_submit_int_urb
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_17
LBB0_2:
	movq	%rbx, %r13
	movq	_RTL8XXXU_TX_URBS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.3:
	leaq	16(%r15), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$16, %rdi
	callq	_usb_init_urb
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r13, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_list_add
	incl	12(%r15)
	incl	%r14d
	movq	_RTL8XXXU_TX_URBS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jl	LBB0_4
LBB0_8:
	movl	$0, (%r15)
	leaq	8(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	$0, 4(%r15)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_RTL8XXXU_RX_URBS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.10:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.15:
	xorl	%r12d, %r12d
	movq	%rax, %rbx
	movq	%r13, %r14
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leaq	12(%rbx), %rdi
	callq	_usb_init_urb
	leaq	8(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_rtl8xxxu_submit_rx_urb
	movl	%eax, %r13d
	incl	%r12d
	movq	_RTL8XXXU_RX_URBS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_14
	jmp	LBB0_6
LBB0_5:
	xorl	%r13d, %r13d
	testl	%r14d, %r14d
	jne	LBB0_14
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_14:
	movq	%r15, %rdi
	callq	_rtl8xxxu_free_tx_resources
	movq	_REG_RXFLTMAP2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtl8xxxu_write16
	movq	_REG_RXFLTMAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtl8xxxu_write16
	jmp	LBB0_18
LBB0_9:
	xorl	%r13d, %r13d
LBB0_17:
	movq	_REG_RXFLTMAP2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_rtl8xxxu_write16
	movq	_REG_RXFLTMAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_rtl8xxxu_write16
	movq	_REG_OFDM0_XA_AGC_CORE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1767126046, %edx               ## imm = 0x6954341E
	callq	_rtl8xxxu_write32
LBB0_18:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%r13d, %r13d
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_14
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL8XXXU_TX_URBS,4,2           ## @RTL8XXXU_TX_URBS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RTL8XXXU_RX_URBS,4,2           ## @RTL8XXXU_RX_URBS
	.comm	_REG_RXFLTMAP2,4,2              ## @REG_RXFLTMAP2
	.comm	_REG_RXFLTMAP0,4,2              ## @REG_RXFLTMAP0
	.comm	_REG_OFDM0_XA_AGC_CORE1,4,2     ## @REG_OFDM0_XA_AGC_CORE1
	.no_dead_strip	_rtl8xxxu_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8xxxu_start
_rtl8xxxu_start:                        ; @rtl8xxxu_start
	.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	x20, x0
	ldr	x19, [x0]
	add	x0, x19, #48
	bl	_init_usb_anchor
	add	x0, x19, #44
	bl	_init_usb_anchor
	add	x0, x19, #40
	bl	_init_usb_anchor
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_rtl8xxxu_submit_int_urb
	mov	x21, x0
	cbnz	w0, LBB0_15
LBB0_2:
Lloh0:
	adrp	x23, _RTL8XXXU_TX_URBS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RTL8XXXU_TX_URBS@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w25, #0
	add	x21, x19, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	w0, #24
	bl	_kmalloc
	cbz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	add	x0, x0, #16
	bl	_usb_init_urb
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	str	x20, [x22, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_list_add
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	add	w25, w25, #1
	ldr	w8, [x23]
	cmp	w25, w8
	b.lt	LBB0_4
LBB0_6:
	str	wzr, [x19]
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	str	wzr, [x19, #4]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh4:
	adrp	x25, _RTL8XXXU_RX_URBS@GOTPAGE
Lloh5:
	ldr	x25, [x25, _RTL8XXXU_RX_URBS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.7:
	ldr	w1, [x24]
	mov	w0, #16
	bl	_kmalloc
	mov	x22, x0
	cbz	x0, LBB0_16
; %bb.8:
	mov	w26, #0
	mov	x23, x22
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x23, #12
	bl	_usb_init_urb
	add	x0, x23, #8
	bl	_INIT_LIST_HEAD
	str	x20, [x23]
	mov	x0, x19
	mov	x1, x23
	bl	_rtl8xxxu_submit_rx_urb
	mov	x21, x0
	add	w26, w26, #1
	ldr	w8, [x25]
	cmp	w26, w8
	b.ge	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x24]
	mov	w0, #16
	bl	_kmalloc
	mov	x23, x0
	cbnz	x0, LBB0_9
; %bb.11:
	cbnz	x22, LBB0_18
	b	LBB0_17
LBB0_12:
	cbz	w25, LBB0_17
; %bb.13:
	mov	w21, #0
	b	LBB0_18
LBB0_14:
	mov	w21, #0
LBB0_15:
Lloh6:
	adrp	x8, _REG_RXFLTMAP2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_RXFLTMAP2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65535
	bl	_rtl8xxxu_write16
Lloh9:
	adrp	x8, _REG_RXFLTMAP0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_RXFLTMAP0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65535
	bl	_rtl8xxxu_write16
Lloh12:
	adrp	x8, _REG_OFDM0_XA_AGC_CORE1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_OFDM0_XA_AGC_CORE1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #13342
	movk	w2, #26964, lsl #16
	bl	_rtl8xxxu_write32
	b	LBB0_19
LBB0_16:
	mov	w21, #0
	cbnz	x22, LBB0_18
LBB0_17:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_18:
	mov	x0, x19
	bl	_rtl8xxxu_free_tx_resources
Lloh18:
	adrp	x8, _REG_RXFLTMAP2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REG_RXFLTMAP2@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl8xxxu_write16
Lloh21:
	adrp	x8, _REG_RXFLTMAP0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_RXFLTMAP0@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl8xxxu_write16
LBB0_19:
	mov	x0, x21
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL8XXXU_TX_URBS,4,2           ; @RTL8XXXU_TX_URBS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RTL8XXXU_RX_URBS,4,2           ; @RTL8XXXU_RX_URBS
	.comm	_REG_RXFLTMAP2,4,2              ; @REG_RXFLTMAP2
	.comm	_REG_RXFLTMAP0,4,2              ; @REG_RXFLTMAP0
	.comm	_REG_OFDM0_XA_AGC_CORE1,4,2     ; @REG_OFDM0_XA_AGC_CORE1
	.no_dead_strip	_rtl8xxxu_start
.subsections_via_symbols
