	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcs7830_get_rev
_mcs7830_get_rev:                       ## @mcs7830_get_rev
	.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	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_HIF_REG_FRAME_DROP_COUNTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %ebx
	leaq	-24(%rbp), %rcx
	movl	$2, %edx
	callq	_mcs7830_get_reg
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setle	%al
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-16(%rbp), %rdx
	jne	LBB0_2
## %bb.1:
	movb	%al, %cl
	subl	%ecx, %ebx
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HIF_REG_FRAME_DROP_COUNTER,4,2 ## @HIF_REG_FRAME_DROP_COUNTER
	.no_dead_strip	_mcs7830_get_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcs7830_get_rev
_mcs7830_get_rev:                       ; @mcs7830_get_rev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _HIF_REG_FRAME_DROP_COUNTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HIF_REG_FRAME_DROP_COUNTER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x3, sp
	mov	w2, #2
	bl	_mcs7830_get_reg
	cmp	w0, #1
	mov	w8, #1
	cinc	w0, w8, ge
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HIF_REG_FRAME_DROP_COUNTER,4,2 ; @HIF_REG_FRAME_DROP_COUNTER
	.no_dead_strip	_mcs7830_get_rev
.subsections_via_symbols
