	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_ofdm_cal
_update_ofdm_cal:                       ## @update_ofdm_cal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_ZD_CR67@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	(%rdi), %rax
	movq	_OFDM_36M_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movslq	%esi, %rdx
	movl	-4(%rcx,%rdx,4), %ecx
	movl	%ecx, -48(%rbp)
	movq	_ZD_CR66@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -36(%rbp)
	movq	_OFDM_48M_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movl	-4(%rcx,%rdx,4), %ecx
	movl	%ecx, -40(%rbp)
	movq	_ZD_CR65@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -28(%rbp)
	movq	_OFDM_54M_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	-4(%rax,%rdx,4), %eax
	movl	%eax, -32(%rbp)
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_zd_iowrite16a_locked
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZD_CR67,4,2                    ## @ZD_CR67
	.comm	_OFDM_36M_INDEX,8,3             ## @OFDM_36M_INDEX
	.comm	_ZD_CR66,4,2                    ## @ZD_CR66
	.comm	_OFDM_48M_INDEX,8,3             ## @OFDM_48M_INDEX
	.comm	_ZD_CR65,4,2                    ## @ZD_CR65
	.comm	_OFDM_54M_INDEX,8,3             ## @OFDM_54M_INDEX
	.no_dead_strip	_update_ofdm_cal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_ofdm_cal
_update_ofdm_cal:                       ; @update_ofdm_cal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _ZD_CR67@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZD_CR67@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #4]
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _OFDM_36M_INDEX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OFDM_36M_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	sub	w10, w1, #1
	sbfiz	x10, x10, #2, #32
	ldr	w9, [x9, x10]
Lloh9:
	adrp	x11, _ZD_CR66@GOTPAGE
Lloh10:
	ldr	x11, [x11, _ZD_CR66@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	str	w9, [sp]
	str	w11, [sp, #12]
Lloh12:
	adrp	x9, _OFDM_48M_INDEX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OFDM_48M_INDEX@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	ldr	w9, [x9, x10]
Lloh15:
	adrp	x11, _ZD_CR65@GOTPAGE
Lloh16:
	ldr	x11, [x11, _ZD_CR65@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	str	w9, [sp, #8]
	str	w11, [sp, #20]
Lloh18:
	adrp	x9, _OFDM_54M_INDEX@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OFDM_54M_INDEX@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8, x10]
	str	w8, [sp, #16]
	mov	x0, sp
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x1, sp
	mov	x0, x19
	bl	_zd_iowrite16a_locked
	ldr	x8, [sp, #24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ZD_CR67,4,2                    ; @ZD_CR67
	.comm	_OFDM_36M_INDEX,8,3             ; @OFDM_36M_INDEX
	.comm	_ZD_CR66,4,2                    ; @ZD_CR66
	.comm	_OFDM_48M_INDEX,8,3             ; @OFDM_48M_INDEX
	.comm	_ZD_CR65,4,2                    ; @ZD_CR65
	.comm	_OFDM_54M_INDEX,8,3             ; @OFDM_54M_INDEX
	.no_dead_strip	_update_ofdm_cal
.subsections_via_symbols
