	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl92cu_init_sw_vars
_rtl92cu_init_sw_vars:                  ## @rtl92cu_init_sw_vars
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %rbx
	movl	$1, 40(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 44(%rax)
	movl	$0, 60(%rax)
	movl	$16384, %edi                    ## imm = 0x4000
	callq	_vzalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	16(%rbx), %edi
	callq	_IS_VENDOR_UMC_A_CUT
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	16(%rbx), %edi
	callq	_IS_92C_SERIAL
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movl	16(%rbx), %edi
	callq	_IS_81XXC_VENDOR_UMC_B_CUT
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %r15
	cmoveq	%rax, %r15
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	$1, %r14d
	jmp	LBB0_9
LBB0_4:
	leaq	L_.str.1(%rip), %r15
LBB0_6:
	movq	32(%rbx), %rax
	leaq	L_.str.4(%rip), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	callq	_pr_info
	movl	$16384, (%rbx)                  ## imm = 0x4000
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %ecx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_rtl_fw_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$1, %esi
	movq	%r15, %rdx
	movq	%r14, %r9
	callq	_request_firmware_nowait
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %r14d
	movq	8(%rbx), %rdi
	callq	_vfree
	movq	$0, 8(%rbx)
	jmp	LBB0_9
LBB0_7:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't alloc buffer for fw\n"

L_.str.1:                               ## @.str.1
	.asciz	"rtlwifi/rtl8192cufw_A.bin"

L_.str.2:                               ## @.str.2
	.asciz	"rtlwifi/rtl8192cufw_B.bin"

L_.str.3:                               ## @.str.3
	.asciz	"rtlwifi/rtl8192cufw_TMSC.bin"

L_.str.4:                               ## @.str.4
	.asciz	"rtlwifi/rtl8192cufw.bin"

L_.str.5:                               ## @.str.5
	.asciz	"Loading firmware %s\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_rtl_fw_cb,4,2                  ## @rtl_fw_cb
	.no_dead_strip	_rtl92cu_init_sw_vars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl92cu_init_sw_vars
_rtl92cu_init_sw_vars:                  ; @rtl92cu_init_sw_vars
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	w8, #1
	str	w8, [x0, #40]
	stur	xzr, [x0, #52]
	stur	xzr, [x0, #44]
	str	wzr, [x0, #60]
	mov	w0, #16384
	bl	_vzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_IS_VENDOR_UMC_A_CUT
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
	bl	_IS_92C_SERIAL
	cbz	w0, LBB0_5
LBB0_3:
	ldr	w0, [x19, #16]
	bl	_IS_81XXC_VENDOR_UMC_B_CUT
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh2:
	adrp	x9, l_.str.3@PAGE
Lloh3:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x21, x9, x8, eq
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w20, #1
	b	LBB0_8
LBB0_5:
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:
	ldr	x8, [x19, #32]
Lloh8:
	adrp	x9, l_.str.4@PAGE
Lloh9:
	add	x9, x9, l_.str.4@PAGEOFF
	str	x9, [x8]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_pr_info
	mov	w8, #16384
	str	w8, [x19]
Lloh12:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w3, [x19, #24]
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
Lloh18:
	adrp	x8, _rtl_fw_cb@GOTPAGE
Lloh19:
	ldr	x8, [x8, _rtl_fw_cb@GOTPAGEOFF]
Lloh20:
	ldr	w6, [x8]
	mov	w1, #1
	mov	x2, x21
	mov	x5, x20
	bl	_request_firmware_nowait
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
	bl	_vfree
	str	xzr, [x19, #8]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't alloc buffer for fw\n"

l_.str.1:                               ; @.str.1
	.asciz	"rtlwifi/rtl8192cufw_A.bin"

l_.str.2:                               ; @.str.2
	.asciz	"rtlwifi/rtl8192cufw_B.bin"

l_.str.3:                               ; @.str.3
	.asciz	"rtlwifi/rtl8192cufw_TMSC.bin"

l_.str.4:                               ; @.str.4
	.asciz	"rtlwifi/rtl8192cufw.bin"

l_.str.5:                               ; @.str.5
	.asciz	"Loading firmware %s\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_rtl_fw_cb,4,2                  ; @rtl_fw_cb
	.no_dead_strip	_rtl92cu_init_sw_vars
.subsections_via_symbols
