	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_init_drv
_iwl_init_drv:                          ## @iwl_init_drv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$84, %rdi
	callq	_spin_lock_init
	leaq	80(%rbx), %rdi
	callq	_mutex_init
	leaq	76(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	24(%rbx), %rax
	movl	8(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_IEEE80211_SMPS_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_IWL_MISSED_BEACON_THRESHOLD_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	$0, 48(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_IWL_RXON_CTX_BSS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	32(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_iwlagn_set_rxon_chain
	movq	%rbx, %rdi
	callq	_iwl_init_scan_params
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_IWLAGN_BT_KILL_ACK_MASK_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_IWLAGN_BT_KILL_CTS_MASK_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_IWLAGN_BT_ALL_VALID_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_BT_ON_THRESHOLD_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_BT_DURATION_LIMIT_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_BT_FRAG_THRESHOLD_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_IFTYPE_STATION,4,2     ## @NL80211_IFTYPE_STATION
	.comm	_IEEE80211_SMPS_STATIC,4,2      ## @IEEE80211_SMPS_STATIC
	.comm	_IWL_MISSED_BEACON_THRESHOLD_DEF,4,2 ## @IWL_MISSED_BEACON_THRESHOLD_DEF
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_IWL_RXON_CTX_BSS,8,3           ## @IWL_RXON_CTX_BSS
	.comm	_IWLAGN_BT_KILL_ACK_MASK_DEFAULT,4,2 ## @IWLAGN_BT_KILL_ACK_MASK_DEFAULT
	.comm	_IWLAGN_BT_KILL_CTS_MASK_DEFAULT,4,2 ## @IWLAGN_BT_KILL_CTS_MASK_DEFAULT
	.comm	_IWLAGN_BT_ALL_VALID_MSK,4,2    ## @IWLAGN_BT_ALL_VALID_MSK
	.comm	_BT_ON_THRESHOLD_DEF,4,2        ## @BT_ON_THRESHOLD_DEF
	.comm	_BT_DURATION_LIMIT_DEF,4,2      ## @BT_DURATION_LIMIT_DEF
	.comm	_BT_FRAG_THRESHOLD_DEF,4,2      ## @BT_FRAG_THRESHOLD_DEF
	.no_dead_strip	_iwl_init_drv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_init_drv
_iwl_init_drv:                          ; @iwl_init_drv
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #84
	bl	_spin_lock_init
	add	x0, x19, #80
	bl	_mutex_init
	add	x0, x19, #76
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	ldp	x8, x9, [x19, #24]
	ldr	w8, [x8, #8]
Lloh3:
	adrp	x10, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #64]
Lloh6:
	adrp	x8, _IEEE80211_SMPS_STATIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_SMPS_STATIC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x10, _IWL_MISSED_BEACON_THRESHOLD_DEF@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IWL_MISSED_BEACON_THRESHOLD_DEF@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #56]
	str	xzr, [x19, #48]
Lloh12:
	adrp	x8, _IWL_RXON_CTX_BSS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IWL_RXON_CTX_BSS@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x1, x9, x8, lsl #2
Lloh15:
	adrp	x8, _jiffies@GOTPAGE
Lloh16:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	mov	x0, x19
	bl	_iwlagn_set_rxon_chain
	mov	x0, x19
	bl	_iwl_init_scan_params
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh18:
	adrp	x8, _IWLAGN_BT_KILL_ACK_MASK_DEFAULT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IWLAGN_BT_KILL_ACK_MASK_DEFAULT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _IWLAGN_BT_KILL_CTS_MASK_DEFAULT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IWLAGN_BT_KILL_CTS_MASK_DEFAULT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh24:
	adrp	x8, _IWLAGN_BT_ALL_VALID_MSK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IWLAGN_BT_ALL_VALID_MSK@GOTPAGEOFF]
Lloh26:
	adrp	x9, _BT_ON_THRESHOLD_DEF@GOTPAGE
Lloh27:
	ldr	x9, [x9, _BT_ON_THRESHOLD_DEF@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh30:
	adrp	x8, _BT_DURATION_LIMIT_DEF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BT_DURATION_LIMIT_DEF@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _BT_FRAG_THRESHOLD_DEF@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BT_FRAG_THRESHOLD_DEF@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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 AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_IFTYPE_STATION,4,2     ; @NL80211_IFTYPE_STATION
	.comm	_IEEE80211_SMPS_STATIC,4,2      ; @IEEE80211_SMPS_STATIC
	.comm	_IWL_MISSED_BEACON_THRESHOLD_DEF,4,2 ; @IWL_MISSED_BEACON_THRESHOLD_DEF
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_IWL_RXON_CTX_BSS,8,3           ; @IWL_RXON_CTX_BSS
	.comm	_IWLAGN_BT_KILL_ACK_MASK_DEFAULT,4,2 ; @IWLAGN_BT_KILL_ACK_MASK_DEFAULT
	.comm	_IWLAGN_BT_KILL_CTS_MASK_DEFAULT,4,2 ; @IWLAGN_BT_KILL_CTS_MASK_DEFAULT
	.comm	_IWLAGN_BT_ALL_VALID_MSK,4,2    ; @IWLAGN_BT_ALL_VALID_MSK
	.comm	_BT_ON_THRESHOLD_DEF,4,2        ; @BT_ON_THRESHOLD_DEF
	.comm	_BT_DURATION_LIMIT_DEF,4,2      ; @BT_DURATION_LIMIT_DEF
	.comm	_BT_FRAG_THRESHOLD_DEF,4,2      ; @BT_FRAG_THRESHOLD_DEF
	.no_dead_strip	_iwl_init_drv
.subsections_via_symbols
