	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_hw_attach_phy_ops       ## -- Begin function ar9003_hw_attach_phy_ops
	.p2align	4, 0x90
_ar9003_hw_attach_phy_ops:              ## @ar9003_hw_attach_phy_ops
	.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, %r14
	callq	_ath9k_hw_private_ops
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ath9k_hw_ops
	movq	%rax, %r15
	movq	_ar9003_hw_set_channel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_ar9003_hw_spur_mitigate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	%r14, %rdi
	callq	_AR_SREV_9340
	movq	_ar9003_hw_compute_pll_control_soc@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	callq	_AR_SREV_9550
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	callq	_AR_SREV_9531
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	callq	_AR_SREV_9561
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	movq	_ar9003_hw_compute_pll_control@GOTPCREL(%rip), %r12
	jmp	LBB0_6
LBB0_4:
	movq	_ar9003_hw_compute_pll_control_soc@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	movl	%eax, 52(%rbx)
	movq	_ar9003_hw_set_channel_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_ar9003_hw_init_bb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_ar9003_hw_process_ini@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_ar9003_hw_set_rfmode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_ar9003_hw_mark_phy_inactive@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_ar9003_hw_set_delta_slope@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_ar9003_hw_rfbus_req@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_ar9003_hw_rfbus_done@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_ar9003_hw_ani_control@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_ar9003_hw_do_getnf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_ar9003_hw_ani_cache_ini_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ar9003_hw_set_radar_params@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ar9003_hw_fast_chan_change@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_ar9003_hw_antdiv_comb_conf_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_ar9003_hw_antdiv_comb_conf_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_ar9003_hw_spectral_scan_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_ar9003_hw_spectral_scan_trigger@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_ar9003_hw_spectral_scan_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_ar9003_hw_tx99_start@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_ar9003_hw_tx99_stop@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_ar9003_hw_tx99_set_txpower@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_ar9003_hw_set_nf_limits
	movq	%r14, %rdi
	callq	_ar9003_hw_set_radar_conf
	movl	(%r14), %edi
	leaq	_ar9003_hw_attach_phy_ops.ar9300_cca_regs(%rip), %rsi
	movl	$4, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ar9003_hw_attach_phy_ops.ar9300_cca_regs
_ar9003_hw_attach_phy_ops.ar9300_cca_regs:
	.long	133                             ## 0x85
	.long	132                             ## 0x84
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	128                             ## 0x80

	.comm	_ar9003_hw_set_channel,4,2      ## @ar9003_hw_set_channel
	.comm	_ar9003_hw_spur_mitigate,4,2    ## @ar9003_hw_spur_mitigate
	.comm	_ar9003_hw_compute_pll_control_soc,4,2 ## @ar9003_hw_compute_pll_control_soc
	.comm	_ar9003_hw_compute_pll_control,4,2 ## @ar9003_hw_compute_pll_control
	.comm	_ar9003_hw_set_channel_regs,4,2 ## @ar9003_hw_set_channel_regs
	.comm	_ar9003_hw_init_bb,4,2          ## @ar9003_hw_init_bb
	.comm	_ar9003_hw_process_ini,4,2      ## @ar9003_hw_process_ini
	.comm	_ar9003_hw_set_rfmode,4,2       ## @ar9003_hw_set_rfmode
	.comm	_ar9003_hw_mark_phy_inactive,4,2 ## @ar9003_hw_mark_phy_inactive
	.comm	_ar9003_hw_set_delta_slope,4,2  ## @ar9003_hw_set_delta_slope
	.comm	_ar9003_hw_rfbus_req,4,2        ## @ar9003_hw_rfbus_req
	.comm	_ar9003_hw_rfbus_done,4,2       ## @ar9003_hw_rfbus_done
	.comm	_ar9003_hw_ani_control,4,2      ## @ar9003_hw_ani_control
	.comm	_ar9003_hw_do_getnf,4,2         ## @ar9003_hw_do_getnf
	.comm	_ar9003_hw_ani_cache_ini_regs,4,2 ## @ar9003_hw_ani_cache_ini_regs
	.comm	_ar9003_hw_set_radar_params,4,2 ## @ar9003_hw_set_radar_params
	.comm	_ar9003_hw_fast_chan_change,4,2 ## @ar9003_hw_fast_chan_change
	.comm	_ar9003_hw_antdiv_comb_conf_get,4,2 ## @ar9003_hw_antdiv_comb_conf_get
	.comm	_ar9003_hw_antdiv_comb_conf_set,4,2 ## @ar9003_hw_antdiv_comb_conf_set
	.comm	_ar9003_hw_spectral_scan_config,4,2 ## @ar9003_hw_spectral_scan_config
	.comm	_ar9003_hw_spectral_scan_trigger,4,2 ## @ar9003_hw_spectral_scan_trigger
	.comm	_ar9003_hw_spectral_scan_wait,4,2 ## @ar9003_hw_spectral_scan_wait
	.comm	_ar9003_hw_tx99_start,4,2       ## @ar9003_hw_tx99_start
	.comm	_ar9003_hw_tx99_stop,4,2        ## @ar9003_hw_tx99_stop
	.comm	_ar9003_hw_tx99_set_txpower,4,2 ## @ar9003_hw_tx99_set_txpower
	.comm	_ar9003_hw_set_bt_ant_diversity,4,2 ## @ar9003_hw_set_bt_ant_diversity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ar9003_hw_attach_phy_ops       ; -- Begin function ar9003_hw_attach_phy_ops
	.p2align	2
_ar9003_hw_attach_phy_ops:              ; @ar9003_hw_attach_phy_ops
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_ath9k_hw_private_ops
	mov	x21, x0
	mov	x0, x19
	bl	_ath9k_hw_ops
	mov	x20, x0
Lloh0:
	adrp	x8, _ar9003_hw_set_channel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ar9003_hw_set_channel@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ar9003_hw_spur_mitigate@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ar9003_hw_spur_mitigate@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #56]
	mov	x0, x19
	bl	_AR_SREV_9340
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_AR_SREV_9550
	cbz	x0, LBB0_4
LBB0_2:
Lloh6:
	adrp	x22, _ar9003_hw_compute_pll_control_soc@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ar9003_hw_compute_pll_control_soc@GOTPAGEOFF]
LBB0_3:
Lloh8:
	adrp	x8, _ar9003_hw_set_channel_regs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ar9003_hw_set_channel_regs@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh10:
	ldr	w8, [x8]
	stp	w8, w9, [x21, #48]
Lloh11:
	adrp	x8, _ar9003_hw_init_bb@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ar9003_hw_init_bb@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _ar9003_hw_process_ini@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ar9003_hw_process_ini@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #40]
Lloh17:
	adrp	x8, _ar9003_hw_set_rfmode@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ar9003_hw_set_rfmode@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _ar9003_hw_mark_phy_inactive@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ar9003_hw_mark_phy_inactive@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #32]
Lloh23:
	adrp	x8, _ar9003_hw_set_delta_slope@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ar9003_hw_set_delta_slope@GOTPAGEOFF]
Lloh25:
	adrp	x9, _ar9003_hw_rfbus_req@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ar9003_hw_rfbus_req@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #24]
Lloh29:
	adrp	x8, _ar9003_hw_rfbus_done@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ar9003_hw_rfbus_done@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _ar9003_hw_ani_control@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ar9003_hw_ani_control@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
Lloh35:
	adrp	x8, _ar9003_hw_do_getnf@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ar9003_hw_do_getnf@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _ar9003_hw_ani_cache_ini_regs@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ar9003_hw_ani_cache_ini_regs@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #8]
Lloh41:
	adrp	x8, _ar9003_hw_set_radar_params@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ar9003_hw_set_radar_params@GOTPAGEOFF]
Lloh43:
	adrp	x9, _ar9003_hw_fast_chan_change@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ar9003_hw_fast_chan_change@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	ldr	w9, [x9]
	stp	w9, w8, [x21]
Lloh47:
	adrp	x8, _ar9003_hw_antdiv_comb_conf_get@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ar9003_hw_antdiv_comb_conf_get@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh50:
	adrp	x8, _ar9003_hw_antdiv_comb_conf_set@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ar9003_hw_antdiv_comb_conf_set@GOTPAGEOFF]
Lloh52:
	adrp	x9, _ar9003_hw_spectral_scan_config@GOTPAGE
Lloh53:
	ldr	x9, [x9, _ar9003_hw_spectral_scan_config@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
Lloh56:
	adrp	x8, _ar9003_hw_spectral_scan_trigger@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ar9003_hw_spectral_scan_trigger@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
Lloh59:
	adrp	x9, _ar9003_hw_spectral_scan_wait@GOTPAGE
Lloh60:
	ldr	x9, [x9, _ar9003_hw_spectral_scan_wait@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
Lloh62:
	adrp	x8, _ar9003_hw_tx99_start@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ar9003_hw_tx99_start@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh65:
	adrp	x8, _ar9003_hw_tx99_stop@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ar9003_hw_tx99_stop@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x9, _ar9003_hw_tx99_set_txpower@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ar9003_hw_tx99_set_txpower@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x19
	bl	_ar9003_hw_set_nf_limits
	mov	x0, x19
	bl	_ar9003_hw_set_radar_conf
	ldr	w0, [x19]
Lloh71:
	adrp	x1, _ar9003_hw_attach_phy_ops.ar9300_cca_regs@PAGE
Lloh72:
	add	x1, x1, _ar9003_hw_attach_phy_ops.ar9300_cca_regs@PAGEOFF
	mov	w2, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memcpy
LBB0_4:
	mov	x0, x19
	bl	_AR_SREV_9531
Lloh73:
	adrp	x22, _ar9003_hw_compute_pll_control_soc@GOTPAGE
Lloh74:
	ldr	x22, [x22, _ar9003_hw_compute_pll_control_soc@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.5:
	mov	x0, x19
	bl	_AR_SREV_9561
Lloh75:
	adrp	x8, _ar9003_hw_compute_pll_control@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ar9003_hw_compute_pll_control@GOTPAGEOFF]
	cmp	x0, #0
	csel	x22, x8, x22, eq
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh54
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh45
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ar9003_hw_attach_phy_ops.ar9300_cca_regs
_ar9003_hw_attach_phy_ops.ar9300_cca_regs:
	.long	133                             ; 0x85
	.long	132                             ; 0x84
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	128                             ; 0x80

	.comm	_ar9003_hw_set_channel,4,2      ; @ar9003_hw_set_channel
	.comm	_ar9003_hw_spur_mitigate,4,2    ; @ar9003_hw_spur_mitigate
	.comm	_ar9003_hw_compute_pll_control_soc,4,2 ; @ar9003_hw_compute_pll_control_soc
	.comm	_ar9003_hw_compute_pll_control,4,2 ; @ar9003_hw_compute_pll_control
	.comm	_ar9003_hw_set_channel_regs,4,2 ; @ar9003_hw_set_channel_regs
	.comm	_ar9003_hw_init_bb,4,2          ; @ar9003_hw_init_bb
	.comm	_ar9003_hw_process_ini,4,2      ; @ar9003_hw_process_ini
	.comm	_ar9003_hw_set_rfmode,4,2       ; @ar9003_hw_set_rfmode
	.comm	_ar9003_hw_mark_phy_inactive,4,2 ; @ar9003_hw_mark_phy_inactive
	.comm	_ar9003_hw_set_delta_slope,4,2  ; @ar9003_hw_set_delta_slope
	.comm	_ar9003_hw_rfbus_req,4,2        ; @ar9003_hw_rfbus_req
	.comm	_ar9003_hw_rfbus_done,4,2       ; @ar9003_hw_rfbus_done
	.comm	_ar9003_hw_ani_control,4,2      ; @ar9003_hw_ani_control
	.comm	_ar9003_hw_do_getnf,4,2         ; @ar9003_hw_do_getnf
	.comm	_ar9003_hw_ani_cache_ini_regs,4,2 ; @ar9003_hw_ani_cache_ini_regs
	.comm	_ar9003_hw_set_radar_params,4,2 ; @ar9003_hw_set_radar_params
	.comm	_ar9003_hw_fast_chan_change,4,2 ; @ar9003_hw_fast_chan_change
	.comm	_ar9003_hw_antdiv_comb_conf_get,4,2 ; @ar9003_hw_antdiv_comb_conf_get
	.comm	_ar9003_hw_antdiv_comb_conf_set,4,2 ; @ar9003_hw_antdiv_comb_conf_set
	.comm	_ar9003_hw_spectral_scan_config,4,2 ; @ar9003_hw_spectral_scan_config
	.comm	_ar9003_hw_spectral_scan_trigger,4,2 ; @ar9003_hw_spectral_scan_trigger
	.comm	_ar9003_hw_spectral_scan_wait,4,2 ; @ar9003_hw_spectral_scan_wait
	.comm	_ar9003_hw_tx99_start,4,2       ; @ar9003_hw_tx99_start
	.comm	_ar9003_hw_tx99_stop,4,2        ; @ar9003_hw_tx99_stop
	.comm	_ar9003_hw_tx99_set_txpower,4,2 ; @ar9003_hw_tx99_set_txpower
	.comm	_ar9003_hw_set_bt_ant_diversity,4,2 ; @ar9003_hw_set_bt_ant_diversity
.subsections_via_symbols
