	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ath9k_init_misc
LCPI0_0:
	.long	1                               ## 0x1
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ath9k_init_misc:                       ## @ath9k_init_misc
	.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, %r15
	movq	40(%rdi), %rdi
	callq	_ath9k_hw_common
	movq	%rax, %r14
	leaq	8(%rax), %rdi
	movq	_ath_ani_calibrate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_ATH_RSSI_DUMMY_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	(%r14), %edi
	callq	_eth_broadcast_addr
	movl	$9, 56(%r15)
	movq	64(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movq	64(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	40(%r15), %rax
	movq	_ATH9K_HW_CAP_ANT_DIV_COMB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_ATH_ANT_DIV_COMB_INIT_COUNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%r15)
LBB0_5:
	movq	%rax, 32(%r15)
	movq	$0, 24(%r15)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,8,0,255]
	movups	%xmm0, (%r15)
	movl	$15, 16(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ath_ani_calibrate,4,2          ## @ath_ani_calibrate
	.comm	_ATH_RSSI_DUMMY_MARKER,4,2      ## @ATH_RSSI_DUMMY_MARKER
	.comm	_ATH9K_HW_CAP_ANT_DIV_COMB,4,2  ## @ATH9K_HW_CAP_ANT_DIV_COMB
	.comm	_ATH_ANT_DIV_COMB_INIT_COUNT,4,2 ## @ATH_ANT_DIV_COMB_INIT_COUNT
	.no_dead_strip	_ath9k_init_misc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ath9k_init_misc
lCPI0_0:
	.long	1                               ; 0x1
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ath9k_init_misc:                       ; @ath9k_init_misc
	.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
	ldr	x0, [x0, #40]
	bl	_ath9k_hw_common
	mov	x20, x0
	add	x0, x0, #8
Lloh0:
	adrp	x8, _ath_ani_calibrate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ath_ani_calibrate@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
Lloh3:
	adrp	x8, _ATH_RSSI_DUMMY_MARKER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH_RSSI_DUMMY_MARKER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #4]
	ldr	w0, [x20]
	bl	_eth_broadcast_addr
	mov	w8, #9
	str	w8, [x19, #56]
	ldr	x0, [x19, #64]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	str	xzr, [x8, x20, lsl #3]
	add	x20, x20, #1
	ldr	x0, [x19, #64]
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldr	x8, [x19, #40]
	ldr	w9, [x8]
Lloh6:
	adrp	x10, _ATH9K_HW_CAP_ANT_DIV_COMB@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ATH9K_HW_CAP_ANT_DIV_COMB@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.4:
Lloh9:
	adrp	x9, _ATH_ANT_DIV_COMB_INIT_COUNT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATH_ANT_DIV_COMB_INIT_COUNT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w9, [x19, #48]
LBB0_5:
	stp	xzr, x8, [x19, #24]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19]
	mov	w8, #15
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ath_ani_calibrate,4,2          ; @ath_ani_calibrate
	.comm	_ATH_RSSI_DUMMY_MARKER,4,2      ; @ATH_RSSI_DUMMY_MARKER
	.comm	_ATH9K_HW_CAP_ANT_DIV_COMB,4,2  ; @ATH9K_HW_CAP_ANT_DIV_COMB
	.comm	_ATH_ANT_DIV_COMB_INIT_COUNT,4,2 ; @ATH_ANT_DIV_COMB_INIT_COUNT
	.no_dead_strip	_ath9k_init_misc
.subsections_via_symbols
