	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function va1j5jf8007s_check_frequency
_va1j5jf8007s_check_frequency:          ## @va1j5jf8007s_check_frequency
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movabsq	$828928688382, %rcx             ## imm = 0xC1000000FE
	movq	%rcx, -24(%rbp)
	movl	%eax, -80(%rbp)
	movq	$0, -64(%rbp)
	movl	$8, -76(%rbp)
	leaq	-24(%rbp), %rcx
	movq	%rcx, -72(%rbp)
	movl	%eax, -56(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$4, -52(%rbp)
	leaq	-84(%rbp), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	leaq	-80(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_transfer
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.2:
	movl	-84(%rbp), %eax
	andl	$64, %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EREMOTEIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,8,3                   ## @I2C_M_RD
	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.no_dead_strip	_va1j5jf8007s_check_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function va1j5jf8007s_check_frequency
lCPI0_0:
	.long	254                             ; 0xfe
	.long	193                             ; 0xc1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_va1j5jf8007s_check_frequency:          ; @va1j5jf8007s_check_frequency
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	mov	w9, #8
	stp	w8, w9, [sp, #24]
	add	x9, sp, #16
	stp	x9, xzr, [sp, #32]
Lloh5:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	mov	w10, #4
	stp	w8, w10, [sp, #48]
	add	x8, sp, #12
	stp	x8, x9, [sp, #56]
	ldr	w0, [x0]
	add	x1, sp, #24
	mov	w2, #2
	bl	_i2c_transfer
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	w8, [sp, #12]
	and	w8, w8, #0x40
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldur	x8, [x29, #-24]
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_5
; %bb.4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,8,3                   ; @I2C_M_RD
	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.no_dead_strip	_va1j5jf8007s_check_frequency
.subsections_via_symbols
