	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_va1j5jf8007t_prepare           ## -- Begin function va1j5jf8007t_prepare
	.p2align	4, 0x90
_va1j5jf8007t_prepare:                  ## @va1j5jf8007t_prepare
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	movq	8(%r14), %rax
	movl	(%rax), %eax
	cmpl	$129, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.3:
	movq	_va1j5jf8007t_25mhz_prepare_bufs@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_va1j5jf8007t_20mhz_prepare_bufs@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	movq	8(%r14), %rcx
	movl	4(%rcx), %ecx
	movl	%ecx, -64(%rbp)
	movq	$0, -72(%rbp)
	movl	$8, -88(%rbp)
	leaq	-56(%rbp), %rcx
	movq	%rcx, -80(%rbp)
	testl	%eax, %eax
	jle	LBB0_11
## %bb.5:
	movl	%eax, %ebx
	leaq	-56(%rbp), %r15
	leaq	-88(%rbp), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	(%r14), %edi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	addq	$8, %r13
	decq	%rbx
	jne	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	callq	_va1j5jf8007t_init_frequency
	jmp	LBB0_12
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_10:
	movq	_EREMOTEIO@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_va1j5jf8007t_20mhz_prepare_bufs,8,3 ## @va1j5jf8007t_20mhz_prepare_bufs
	.comm	_va1j5jf8007t_25mhz_prepare_bufs,8,3 ## @va1j5jf8007t_25mhz_prepare_bufs
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_va1j5jf8007t_prepare           ; -- Begin function va1j5jf8007t_prepare
	.p2align	2
_va1j5jf8007t_prepare:                  ; @va1j5jf8007t_prepare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x19, [x0]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _va1j5jf8007t_25mhz_prepare_bufs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _va1j5jf8007t_25mhz_prepare_bufs@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _va1j5jf8007t_20mhz_prepare_bufs@GOTPAGE
Lloh6:
	ldr	x8, [x8, _va1j5jf8007t_20mhz_prepare_bufs@GOTPAGEOFF]
LBB0_4:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	str	w8, [sp, #24]
	mov	w8, #8
	str	w8, [sp]
	add	x8, sp, #32
	stp	x8, xzr, [sp, #8]
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	w21, w0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #32
	mov	x1, x20
	mov	w2, #8
	bl	_memcpy
	ldr	w0, [x19]
	mov	x1, sp
	mov	w2, #1
	bl	_i2c_transfer
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #8
	subs	x21, x21, #1
	b.ne	LBB0_6
LBB0_8:
	mov	x0, x19
	bl	_va1j5jf8007t_init_frequency
	b	LBB0_12
LBB0_9:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh9:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_va1j5jf8007t_20mhz_prepare_bufs,8,3 ; @va1j5jf8007t_20mhz_prepare_bufs
	.comm	_va1j5jf8007t_25mhz_prepare_bufs,8,3 ; @va1j5jf8007t_25mhz_prepare_bufs
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
.subsections_via_symbols
