	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_engine_mode
_show_engine_mode:                      ## @show_engine_mode
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	callq	_to_i2c_client
	movl	%eax, %edi
	callq	_i2c_get_clientdata
	movq	(%rax), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	-4(%rax,%rcx,4), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movb	$0, 4(%rbx)
	movl	$175011186, (%rbx)              ## imm = 0xA6E7572
	movl	$4, %eax
	jmp	LBB0_5
LBB0_3:
	movw	$10, 4(%rbx)
	movl	$1684107116, (%rbx)             ## imm = 0x64616F6C
	movl	$5, %eax
	jmp	LBB0_5
LBB0_4:
	movabsq	$7234307546238118244, %rax      ## imm = 0x64656C6261736964
	movq	%rax, (%rbx)
	movw	$10, 8(%rbx)
	movl	$9, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"run\n"

L_.str.1:                               ## @.str.1
	.asciz	"load\n"

L_.str.2:                               ## @.str.2
	.asciz	"disabled\n"

	.no_dead_strip	_show_engine_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_engine_mode
_show_engine_mode:                      ; @show_engine_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x3
	mov	x19, x2
	bl	_to_i2c_client
	bl	_i2c_get_clientdata
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x8, x8, w20, sxtw #2
	ldur	w8, [x8, #-4]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
	strb	wzr, [x19, #4]
	mov	w8, #30066
	movk	w8, #2670, lsl #16
	str	w8, [x19]
	mov	w0, #4
	b	LBB0_5
LBB0_3:
	mov	w8, #10
	strh	w8, [x19, #4]
	mov	w8, #28524
	movk	w8, #25697, lsl #16
	str	w8, [x19]
	mov	w0, #5
	b	LBB0_5
LBB0_4:
	mov	w8, #10
	strh	w8, [x19, #8]
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w0, #9
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAddLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"run\n"

l_.str.1:                               ; @.str.1
	.asciz	"load\n"

l_.str.2:                               ; @.str.2
	.asciz	"disabled\n"

	.no_dead_strip	_show_engine_mode
.subsections_via_symbols
