	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_rf_init_al2230              ## -- Begin function zd_rf_init_al2230
	.p2align	4, 0x90
_zd_rf_init_al2230:                     ## @zd_rf_init_al2230
	.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	_zd_rf_to_chip
	movq	_al2230_switch_radio_off@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	movq	%rax, %rdi
	callq	_zd_chip_is_zd1211b
	testq	%rax, %rax
	movq	_zd1211b_al2230_switch_radio_on@GOTPCREL(%rip), %rax
	cmoveq	_zd1211_al2230_switch_radio_on@GOTPCREL(%rip), %rax
	movq	_zd1211b_al2230_set_channel@GOTPCREL(%rip), %rcx
	cmoveq	_zd1211_al2230_set_channel@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	movl	(%rcx), %ecx
	movq	_zd1211b_al2230_init_hw@GOTPCREL(%rip), %rdx
	cmoveq	_zd1211_al2230_init_hw@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rbx)
	movl	%ecx, 12(%rbx)
	movl	%eax, 8(%rbx)
	movq	_zd_rf_generic_patch_6m@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	$1, (%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_al2230_switch_radio_off,4,2    ## @al2230_switch_radio_off
	.comm	_zd1211b_al2230_init_hw,4,2     ## @zd1211b_al2230_init_hw
	.comm	_zd1211b_al2230_set_channel,4,2 ## @zd1211b_al2230_set_channel
	.comm	_zd1211b_al2230_switch_radio_on,4,2 ## @zd1211b_al2230_switch_radio_on
	.comm	_zd1211_al2230_init_hw,4,2      ## @zd1211_al2230_init_hw
	.comm	_zd1211_al2230_set_channel,4,2  ## @zd1211_al2230_set_channel
	.comm	_zd1211_al2230_switch_radio_on,4,2 ## @zd1211_al2230_switch_radio_on
	.comm	_zd_rf_generic_patch_6m,4,2     ## @zd_rf_generic_patch_6m
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_rf_init_al2230              ; -- Begin function zd_rf_init_al2230
	.p2align	2
_zd_rf_init_al2230:                     ; @zd_rf_init_al2230
	.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	_zd_rf_to_chip
Lloh0:
	adrp	x8, _al2230_switch_radio_off@GOTPAGE
Lloh1:
	ldr	x8, [x8, _al2230_switch_radio_off@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	bl	_zd_chip_is_zd1211b
Lloh3:
	adrp	x8, _zd1211_al2230_switch_radio_on@GOTPAGE
Lloh4:
	ldr	x8, [x8, _zd1211_al2230_switch_radio_on@GOTPAGEOFF]
Lloh5:
	adrp	x9, _zd1211b_al2230_switch_radio_on@GOTPAGE
Lloh6:
	ldr	x9, [x9, _zd1211b_al2230_switch_radio_on@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _zd1211_al2230_set_channel@GOTPAGE
Lloh8:
	ldr	x9, [x9, _zd1211_al2230_set_channel@GOTPAGEOFF]
Lloh9:
	adrp	x10, _zd1211b_al2230_set_channel@GOTPAGE
Lloh10:
	ldr	x10, [x10, _zd1211b_al2230_set_channel@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _zd1211_al2230_init_hw@GOTPAGE
Lloh12:
	ldr	x10, [x10, _zd1211_al2230_init_hw@GOTPAGEOFF]
Lloh13:
	adrp	x11, _zd1211b_al2230_init_hw@GOTPAGE
Lloh14:
	ldr	x11, [x11, _zd1211b_al2230_init_hw@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
	str	w10, [x19, #16]
Lloh15:
	adrp	x10, _zd_rf_generic_patch_6m@GOTPAGE
Lloh16:
	ldr	x10, [x10, _zd_rf_generic_patch_6m@GOTPAGEOFF]
	stp	w8, w9, [x19, #8]
Lloh17:
	ldr	w8, [x10]
	mov	w9, #1
	stp	w9, w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_al2230_switch_radio_off,4,2    ; @al2230_switch_radio_off
	.comm	_zd1211b_al2230_init_hw,4,2     ; @zd1211b_al2230_init_hw
	.comm	_zd1211b_al2230_set_channel,4,2 ; @zd1211b_al2230_set_channel
	.comm	_zd1211b_al2230_switch_radio_on,4,2 ; @zd1211b_al2230_switch_radio_on
	.comm	_zd1211_al2230_init_hw,4,2      ; @zd1211_al2230_init_hw
	.comm	_zd1211_al2230_set_channel,4,2  ; @zd1211_al2230_set_channel
	.comm	_zd1211_al2230_switch_radio_on,4,2 ; @zd1211_al2230_switch_radio_on
	.comm	_zd_rf_generic_patch_6m,4,2     ; @zd_rf_generic_patch_6m
.subsections_via_symbols
