	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_nic_config              ## -- Begin function il4965_nic_config
	.p2align	4, 0x90
_il4965_nic_config:                     ## @il4965_nic_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_spin_lock_irqsave
	movq	_EEPROM_RADIO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_il_eeprom_query16
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_EEPROM_RF_CFG_TYPE_MSK
	movq	_EEPROM_4965_RF_CFG_TYPE_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	_CSR_HW_IF_CONFIG_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r14d, %edi
	callq	_EEPROM_RF_CFG_TYPE_MSK
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_EEPROM_RF_CFG_STEP_MSK
	orl	%eax, %r12d
	movl	%r14d, %edi
	callq	_EEPROM_RF_CFG_DASH_MSK
	orl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_il_set_bit
LBB0_2:
	movq	_CSR_HW_IF_CONFIG_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI@GOTPCREL(%rip), %rax
	movq	_CSR_HW_IF_CONFIG_REG_BIT_MAC_SI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_il_set_bit
	movq	_EEPROM_4965_CALIB_TXPOWER_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_il_eeprom_query_addr
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_RADIO_CONFIG,4,2        ## @EEPROM_RADIO_CONFIG
	.comm	_EEPROM_4965_RF_CFG_TYPE_MAX,4,2 ## @EEPROM_4965_RF_CFG_TYPE_MAX
	.comm	_CSR_HW_IF_CONFIG_REG,4,2       ## @CSR_HW_IF_CONFIG_REG
	.comm	_CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI,4,2 ## @CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI
	.comm	_CSR_HW_IF_CONFIG_REG_BIT_MAC_SI,4,2 ## @CSR_HW_IF_CONFIG_REG_BIT_MAC_SI
	.comm	_EEPROM_4965_CALIB_TXPOWER_OFFSET,4,2 ## @EEPROM_4965_CALIB_TXPOWER_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_nic_config              ; -- Begin function il4965_nic_config
	.p2align	2
_il4965_nic_config:                     ; @il4965_nic_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _EEPROM_RADIO_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_RADIO_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_il_eeprom_query16
	mov	x20, x0
	bl	_EEPROM_RF_CFG_TYPE_MSK
Lloh3:
	adrp	x8, _EEPROM_4965_RF_CFG_TYPE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEPROM_4965_RF_CFG_TYPE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x23, _CSR_HW_IF_CONFIG_REG@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CSR_HW_IF_CONFIG_REG@GOTPAGEOFF]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w21, [x23]
	mov	x0, x20
	bl	_EEPROM_RF_CFG_TYPE_MSK
	mov	x22, x0
	mov	x0, x20
	bl	_EEPROM_RF_CFG_STEP_MSK
	orr	w22, w0, w22
	mov	x0, x20
	bl	_EEPROM_RF_CFG_DASH_MSK
	orr	w2, w22, w0
	mov	x0, x19
	mov	x1, x21
	bl	_il_set_bit
LBB0_2:
Lloh8:
	adrp	x8, _CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _CSR_HW_IF_CONFIG_REG_BIT_MAC_SI@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CSR_HW_IF_CONFIG_REG_BIT_MAC_SI@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_il_set_bit
Lloh14:
	adrp	x8, _EEPROM_4965_CALIB_TXPOWER_OFFSET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EEPROM_4965_CALIB_TXPOWER_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_il_eeprom_query_addr
	str	x0, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_RADIO_CONFIG,4,2        ; @EEPROM_RADIO_CONFIG
	.comm	_EEPROM_4965_RF_CFG_TYPE_MAX,4,2 ; @EEPROM_4965_RF_CFG_TYPE_MAX
	.comm	_CSR_HW_IF_CONFIG_REG,4,2       ; @CSR_HW_IF_CONFIG_REG
	.comm	_CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI,4,2 ; @CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI
	.comm	_CSR_HW_IF_CONFIG_REG_BIT_MAC_SI,4,2 ; @CSR_HW_IF_CONFIG_REG_BIT_MAC_SI
	.comm	_EEPROM_4965_CALIB_TXPOWER_OFFSET,4,2 ; @EEPROM_4965_CALIB_TXPOWER_OFFSET
.subsections_via_symbols
