	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raydium_i2c_check_fw_status
_raydium_i2c_check_fw_status:           ## @raydium_i2c_check_fw_status
	.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	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	8(%rdi), %rdi
	movq	_RM_CMD_BOOT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movl	$32, %ecx
	callq	_raydium_i2c_read
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	-48(%rbp), %rcx
	cmpq	$98, %rcx
	je	LBB0_2
## %bb.3:
	cmpq	$102, %rcx
	jne	LBB0_6
## %bb.4:
	movq	_RAYDIUM_TS_MAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_RAYDIUM_TS_BLDR@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RM_CMD_BOOT_READ,4,2           ## @RM_CMD_BOOT_READ
	.comm	_RAYDIUM_TS_BLDR,4,2            ## @RAYDIUM_TS_BLDR
	.comm	_RAYDIUM_TS_MAIN,4,2            ## @RAYDIUM_TS_MAIN
	.no_dead_strip	_raydium_i2c_check_fw_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raydium_i2c_check_fw_status
_raydium_i2c_check_fw_status:           ; @raydium_i2c_check_fw_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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]
	stur	x8, [x29, #-24]
	ldr	x0, [x0, #8]
Lloh3:
	adrp	x8, _RM_CMD_BOOT_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RM_CMD_BOOT_READ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w3, #32
	bl	_raydium_i2c_read
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, #98
	b.eq	LBB0_4
; %bb.2:
	cmp	x8, #102
	b.ne	LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _RAYDIUM_TS_MAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RAYDIUM_TS_MAIN@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _RAYDIUM_TS_BLDR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RAYDIUM_TS_BLDR@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RM_CMD_BOOT_READ,4,2           ; @RM_CMD_BOOT_READ
	.comm	_RAYDIUM_TS_BLDR,4,2            ; @RAYDIUM_TS_BLDR
	.comm	_RAYDIUM_TS_MAIN,4,2            ; @RAYDIUM_TS_MAIN
	.no_dead_strip	_raydium_i2c_check_fw_status
.subsections_via_symbols
