	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_rf_init_al7230b             ## -- Begin function zd_rf_init_al7230b
	.p2align	4, 0x90
_zd_rf_init_al7230b:                    ## @zd_rf_init_al7230b
	.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	%rax, %rdi
	callq	_zd_chip_is_zd1211b
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_zd1211b_al7230b_init_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_zd1211b_al7230b_switch_radio_on@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_zd1211b_al7230b_set_channel@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_zd1211b_al7230b_patch_6m@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	jmp	LBB0_3
LBB0_2:
	movq	_zd1211_al7230b_init_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_zd1211_al7230b_switch_radio_on@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_zd1211_al7230b_set_channel@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_zd_rf_generic_patch_6m@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	$1, (%rbx)
LBB0_3:
	movl	%eax, 20(%rbx)
	movl	%ecx, 16(%rbx)
	movl	%edx, 12(%rbx)
	movl	%esi, 8(%rbx)
	movq	_al7230b_switch_radio_off@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_zd1211b_al7230b_init_hw,4,2    ## @zd1211b_al7230b_init_hw
	.comm	_zd1211b_al7230b_switch_radio_on,4,2 ## @zd1211b_al7230b_switch_radio_on
	.comm	_zd1211b_al7230b_set_channel,4,2 ## @zd1211b_al7230b_set_channel
	.comm	_zd1211b_al7230b_patch_6m,4,2   ## @zd1211b_al7230b_patch_6m
	.comm	_zd1211_al7230b_init_hw,4,2     ## @zd1211_al7230b_init_hw
	.comm	_zd1211_al7230b_switch_radio_on,4,2 ## @zd1211_al7230b_switch_radio_on
	.comm	_zd1211_al7230b_set_channel,4,2 ## @zd1211_al7230b_set_channel
	.comm	_zd_rf_generic_patch_6m,4,2     ## @zd_rf_generic_patch_6m
	.comm	_al7230b_switch_radio_off,4,2   ## @al7230b_switch_radio_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_rf_init_al7230b             ; -- Begin function zd_rf_init_al7230b
	.p2align	2
_zd_rf_init_al7230b:                    ; @zd_rf_init_al7230b
	.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
	bl	_zd_chip_is_zd1211b
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _zd1211b_al7230b_init_hw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _zd1211b_al7230b_init_hw@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _zd1211b_al7230b_switch_radio_on@GOTPAGE
Lloh4:
	ldr	x9, [x9, _zd1211b_al7230b_switch_radio_on@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _zd1211b_al7230b_set_channel@GOTPAGE
Lloh7:
	ldr	x10, [x10, _zd1211b_al7230b_set_channel@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _zd1211b_al7230b_patch_6m@GOTPAGE
Lloh10:
	ldr	x11, [x11, _zd1211b_al7230b_patch_6m@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _zd1211_al7230b_init_hw@GOTPAGE
Lloh13:
	ldr	x8, [x8, _zd1211_al7230b_init_hw@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _zd1211_al7230b_switch_radio_on@GOTPAGE
Lloh16:
	ldr	x9, [x9, _zd1211_al7230b_switch_radio_on@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _zd1211_al7230b_set_channel@GOTPAGE
Lloh19:
	ldr	x10, [x10, _zd1211_al7230b_set_channel@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _zd_rf_generic_patch_6m@GOTPAGE
Lloh22:
	ldr	x11, [x11, _zd_rf_generic_patch_6m@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	mov	w12, #1
	str	w12, [x19]
LBB0_3:
	stp	w9, w8, [x19, #16]
	str	w10, [x19, #12]
Lloh24:
	adrp	x8, _al7230b_switch_radio_off@GOTPAGE
Lloh25:
	ldr	x8, [x8, _al7230b_switch_radio_off@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	stp	w8, w11, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_zd1211b_al7230b_init_hw,4,2    ; @zd1211b_al7230b_init_hw
	.comm	_zd1211b_al7230b_switch_radio_on,4,2 ; @zd1211b_al7230b_switch_radio_on
	.comm	_zd1211b_al7230b_set_channel,4,2 ; @zd1211b_al7230b_set_channel
	.comm	_zd1211b_al7230b_patch_6m,4,2   ; @zd1211b_al7230b_patch_6m
	.comm	_zd1211_al7230b_init_hw,4,2     ; @zd1211_al7230b_init_hw
	.comm	_zd1211_al7230b_switch_radio_on,4,2 ; @zd1211_al7230b_switch_radio_on
	.comm	_zd1211_al7230b_set_channel,4,2 ; @zd1211_al7230b_set_channel
	.comm	_zd_rf_generic_patch_6m,4,2     ; @zd_rf_generic_patch_6m
	.comm	_al7230b_switch_radio_off,4,2   ; @al7230b_switch_radio_off
.subsections_via_symbols
