	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_init_drv
_il4965_init_drv:                       ## @il4965_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$60, %rdi
	callq	_spin_lock_init
	leaq	56(%rbx), %rdi
	callq	_spin_lock_init
	leaq	52(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	48(%rbx), %rdi
	callq	_mutex_init
	movq	$0, 40(%rbx)
	movq	$0, (%rbx)
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_IEEE80211_SMPS_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_IL_MISSED_BEACON_THRESHOLD_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_IL_DELAY_NEXT_FORCE_FW_RELOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_il_init_scan_params
	movq	%rbx, %rdi
	callq	_il_init_channel_map
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_IL_ERR
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_il_init_geos
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_IL_ERR
	movq	%rbx, %rdi
	callq	_il_free_channel_map
	jmp	LBB0_7
LBB0_6:
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_il4965_init_hw_rates
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	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	_IL_MISSED_BEACON_THRESHOLD_DEF,4,2 ## @IL_MISSED_BEACON_THRESHOLD_DEF
	.comm	_IL_DELAY_NEXT_FORCE_FW_RELOAD,4,2 ## @IL_DELAY_NEXT_FORCE_FW_RELOAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initializing regulatory failed: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"initializing geos failed: %d\n"

	.no_dead_strip	_il4965_init_drv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_init_drv
_il4965_init_drv:                       ; @il4965_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, #60
	bl	_spin_lock_init
	add	x0, x19, #56
	bl	_spin_lock_init
	add	x0, x19, #52
	bl	_INIT_LIST_HEAD
	add	x0, x19, #48
	bl	_mutex_init
	str	xzr, [x19, #40]
	str	xzr, [x19]
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh3:
	adrp	x8, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IEEE80211_SMPS_STATIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_SMPS_STATIC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh9:
	adrp	x8, _IL_MISSED_BEACON_THRESHOLD_DEF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IL_MISSED_BEACON_THRESHOLD_DEF@GOTPAGEOFF]
Lloh11:
	adrp	x9, _IL_DELAY_NEXT_FORCE_FW_RELOAD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IL_DELAY_NEXT_FORCE_FW_RELOAD@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	mov	x0, x19
	bl	_il_init_scan_params
	mov	x0, x19
	bl	_il_init_channel_map
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_IL_ERR
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_il_init_geos
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.5:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_IL_ERR
	mov	x0, x19
	bl	_il_free_channel_map
	b	LBB0_7
LBB0_6:
	ldr	x1, [x19]
	mov	x0, x19
	bl	_il4965_init_hw_rates
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.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	_IL_MISSED_BEACON_THRESHOLD_DEF,4,2 ; @IL_MISSED_BEACON_THRESHOLD_DEF
	.comm	_IL_DELAY_NEXT_FORCE_FW_RELOAD,4,2 ; @IL_DELAY_NEXT_FORCE_FW_RELOAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initializing regulatory failed: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"initializing geos failed: %d\n"

	.no_dead_strip	_il4965_init_drv
.subsections_via_symbols
