	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_eeprom_init           ## -- Begin function ath9k_hw_eeprom_init
	.p2align	4, 0x90
_ath9k_hw_eeprom_init:                  ## @ath9k_hw_eeprom_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_AR_SREV_9300_20_OR_LATER
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_eep_ar9300_ops@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_2:
	movq	%rbx, %rdi
	callq	_AR_SREV_9287
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_eep_ar9287_ops@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	callq	_AR_SREV_9285
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_AR_SREV_9271
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_eep_def_ops@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movq	_eep_4k_ops@GOTPCREL(%rip), %rcx
LBB0_9:
	movq	%rcx, (%rbx)
	movq	%rbx, %rdi
	callq	*8(%rcx)
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_11:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eep_ar9300_ops,16,3            ## @eep_ar9300_ops
	.comm	_eep_ar9287_ops,16,3            ## @eep_ar9287_ops
	.comm	_eep_4k_ops,16,3                ## @eep_4k_ops
	.comm	_eep_def_ops,16,3               ## @eep_def_ops
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_hw_eeprom_init           ; -- Begin function ath9k_hw_eeprom_init
	.p2align	2
_ath9k_hw_eeprom_init:                  ; @ath9k_hw_eeprom_init
	.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
	bl	_AR_SREV_9300_20_OR_LATER
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _eep_ar9300_ops@GOTPAGE
Lloh1:
	ldr	x20, [x20, _eep_ar9300_ops@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_AR_SREV_9287
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x20, _eep_ar9287_ops@GOTPAGE
Lloh3:
	ldr	x20, [x20, _eep_ar9287_ops@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_AR_SREV_9285
Lloh4:
	adrp	x20, _eep_4k_ops@GOTPAGE
Lloh5:
	ldr	x20, [x20, _eep_4k_ops@GOTPAGEOFF]
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_AR_SREV_9271
Lloh6:
	adrp	x8, _eep_def_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _eep_def_ops@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x8, x20, eq
LBB0_6:
	str	x20, [x19]
	ldr	x8, [x20, #8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_8:
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_eep_ar9300_ops,16,3            ; @eep_ar9300_ops
	.comm	_eep_ar9287_ops,16,3            ; @eep_ar9287_ops
	.comm	_eep_4k_ops,16,3                ; @eep_4k_ops
	.comm	_eep_def_ops,16,3               ; @eep_def_ops
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
