	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_core_init                  ## -- Begin function rtw_core_init
	.p2align	4, 0x90
_rtw_core_init:                         ## @rtw_core_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$96, %rdi
	callq	_INIT_LIST_HEAD
	leaq	56(%rbx), %r14
	leaq	64(%rbx), %rdi
	movq	_rtw_tx_report_purge_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	92(%rbx), %rdi
	movq	_rtw_watch_dog_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	88(%rbx), %rdi
	movq	_rtw_lps_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	32(%rbx), %r15
	leaq	52(%rbx), %rdi
	movq	_rtw_coex_bt_relink_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	48(%rbx), %rdi
	movq	_rtw_coex_bt_reenable_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	44(%rbx), %rdi
	movq	_rtw_coex_defreeze_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	84(%rbx), %rdi
	movq	_rtw_c2h_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	80(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	40(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	60(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	76(%rbx), %rdi
	callq	_spin_lock_init
	leaq	72(%rbx), %rdi
	callq	_spin_lock_init
	leaq	68(%rbx), %rdi
	callq	_spin_lock_init
	movq	%r14, %rdi
	callq	_spin_lock_init
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_init
	leaq	36(%rbx), %rdi
	callq	_mutex_init
	leaq	16(%rbx), %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	callq	_init_waitqueue_head
	movl	$32, 28(%rbx)
	movl	$1, 8(%rbx)
	movq	_RTW_BC_MC_MACID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %esi
	callq	_set_bit
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_RSVD_BEACON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rtw_add_rsvd_page
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_BIT_APP_FCS@GOTPCREL(%rip), %rax
	movq	_BIT_APP_MIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_BIT_APP_ICV@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BIT_HTC_LOC_CTRL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BIT_APP_PHYSTS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BIT_AB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BIT_AM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BIT_APM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_load_firmware
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rtw_warn
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rtw_tx_report_purge_timer,4,2  ## @rtw_tx_report_purge_timer
	.comm	_rtw_watch_dog_work,4,2         ## @rtw_watch_dog_work
	.comm	_rtw_lps_work,4,2               ## @rtw_lps_work
	.comm	_rtw_coex_bt_relink_work,4,2    ## @rtw_coex_bt_relink_work
	.comm	_rtw_coex_bt_reenable_work,4,2  ## @rtw_coex_bt_reenable_work
	.comm	_rtw_coex_defreeze_work,4,2     ## @rtw_coex_defreeze_work
	.comm	_rtw_c2h_work,4,2               ## @rtw_c2h_work
	.comm	_RTW_BC_MC_MACID,4,2            ## @RTW_BC_MC_MACID
	.comm	_RSVD_BEACON,4,2                ## @RSVD_BEACON
	.comm	_BIT_APP_FCS,4,2                ## @BIT_APP_FCS
	.comm	_BIT_APP_MIC,4,2                ## @BIT_APP_MIC
	.comm	_BIT_APP_ICV,4,2                ## @BIT_APP_ICV
	.comm	_BIT_HTC_LOC_CTRL,4,2           ## @BIT_HTC_LOC_CTRL
	.comm	_BIT_APP_PHYSTS,4,2             ## @BIT_APP_PHYSTS
	.comm	_BIT_AB,4,2                     ## @BIT_AB
	.comm	_BIT_AM,4,2                     ## @BIT_AM
	.comm	_BIT_APM,4,2                    ## @BIT_APM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no firmware loaded\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_core_init                  ; -- Begin function rtw_core_init
	.p2align	2
_rtw_core_init:                         ; @rtw_core_init
	.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	x19, x0
	add	x0, x0, #96
	bl	_INIT_LIST_HEAD
	add	x20, x19, #56
	add	x0, x19, #64
Lloh0:
	adrp	x8, _rtw_tx_report_purge_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rtw_tx_report_purge_timer@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x19, #92
Lloh3:
	adrp	x8, _rtw_watch_dog_work@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rtw_watch_dog_work@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #88
Lloh6:
	adrp	x8, _rtw_lps_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rtw_lps_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x21, x19, #32
	add	x0, x19, #52
Lloh9:
	adrp	x8, _rtw_coex_bt_relink_work@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rtw_coex_bt_relink_work@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #48
Lloh12:
	adrp	x8, _rtw_coex_bt_reenable_work@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rtw_coex_bt_reenable_work@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #44
Lloh15:
	adrp	x8, _rtw_coex_defreeze_work@GOTPAGE
Lloh16:
	ldr	x8, [x8, _rtw_coex_defreeze_work@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #84
Lloh18:
	adrp	x8, _rtw_c2h_work@GOTPAGE
Lloh19:
	ldr	x8, [x8, _rtw_c2h_work@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #80
	bl	_skb_queue_head_init
	add	x0, x19, #40
	bl	_skb_queue_head_init
	add	x0, x19, #60
	bl	_skb_queue_head_init
	add	x0, x19, #76
	bl	_spin_lock_init
	add	x0, x19, #72
	bl	_spin_lock_init
	add	x0, x19, #68
	bl	_spin_lock_init
	mov	x0, x20
	bl	_spin_lock_init
	add	x20, x19, #20
	mov	x0, x20
	bl	_mutex_init
	add	x0, x19, #36
	bl	_mutex_init
	add	x0, x19, #16
	bl	_mutex_init
	mov	x0, x21
	bl	_init_waitqueue_head
	mov	w8, #32
	str	w8, [x19, #28]
	mov	w8, #1
	str	w8, [x19, #8]
Lloh21:
	adrp	x8, _RTW_BC_MC_MACID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RTW_BC_MC_MACID@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19, #24]
	bl	_set_bit
	mov	x0, x20
	bl	_mutex_lock
Lloh24:
	adrp	x8, _RSVD_BEACON@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RSVD_BEACON@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rtw_add_rsvd_page
	mov	x0, x20
	bl	_mutex_unlock
Lloh27:
	adrp	x8, _BIT_APP_FCS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BIT_APP_FCS@GOTPAGEOFF]
Lloh29:
	adrp	x9, _BIT_APP_MIC@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BIT_APP_MIC@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _BIT_APP_ICV@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BIT_APP_ICV@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _BIT_HTC_LOC_CTRL@GOTPAGE
Lloh37:
	ldr	x9, [x9, _BIT_HTC_LOC_CTRL@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _BIT_APP_PHYSTS@GOTPAGE
Lloh40:
	ldr	x10, [x10, _BIT_APP_PHYSTS@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh41:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _BIT_AB@GOTPAGE
Lloh43:
	ldr	x9, [x9, _BIT_AB@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh45:
	adrp	x9, _BIT_AM@GOTPAGE
Lloh46:
	ldr	x9, [x9, _BIT_AM@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x10, _BIT_APM@GOTPAGE
Lloh49:
	ldr	x10, [x10, _BIT_APM@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh50:
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [x19, #12]
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_load_firmware
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh51:
	adrp	x1, l_.str@PAGE
Lloh52:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_rtw_warn
LBB0_2:
	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 AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_rtw_tx_report_purge_timer,4,2  ; @rtw_tx_report_purge_timer
	.comm	_rtw_watch_dog_work,4,2         ; @rtw_watch_dog_work
	.comm	_rtw_lps_work,4,2               ; @rtw_lps_work
	.comm	_rtw_coex_bt_relink_work,4,2    ; @rtw_coex_bt_relink_work
	.comm	_rtw_coex_bt_reenable_work,4,2  ; @rtw_coex_bt_reenable_work
	.comm	_rtw_coex_defreeze_work,4,2     ; @rtw_coex_defreeze_work
	.comm	_rtw_c2h_work,4,2               ; @rtw_c2h_work
	.comm	_RTW_BC_MC_MACID,4,2            ; @RTW_BC_MC_MACID
	.comm	_RSVD_BEACON,4,2                ; @RSVD_BEACON
	.comm	_BIT_APP_FCS,4,2                ; @BIT_APP_FCS
	.comm	_BIT_APP_MIC,4,2                ; @BIT_APP_MIC
	.comm	_BIT_APP_ICV,4,2                ; @BIT_APP_ICV
	.comm	_BIT_HTC_LOC_CTRL,4,2           ; @BIT_HTC_LOC_CTRL
	.comm	_BIT_APP_PHYSTS,4,2             ; @BIT_APP_PHYSTS
	.comm	_BIT_AB,4,2                     ; @BIT_AB
	.comm	_BIT_AM,4,2                     ; @BIT_AM
	.comm	_BIT_APM,4,2                    ; @BIT_APM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no firmware loaded\n"

.subsections_via_symbols
