	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_bank1_alarm
_show_bank1_alarm:                      ## @show_bank1_alarm
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr_2
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_abituguru_update_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rdx
	movslq	(%r15), %rcx
	leal	7(%rcx), %esi
	testq	%rcx, %rcx
	cmovnsl	%ecx, %esi
	sarl	$3, %esi
	movslq	%esi, %rsi
	movl	(%rdx,%rsi,4), %edx
	movl	%ecx, %ebx
	andb	$7, %bl
	movzbl	%bl, %esi
	btl	%esi, %edx
	jae	LBB0_5
## %bb.3:
	movq	8(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movl	4(%r15), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movb	$0, 2(%r14)
	movw	$2609, (%r14)                   ## imm = 0xA31
	jmp	LBB0_6
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_5:
	movb	$0, 2(%r14)
	movw	$2608, (%r14)                   ## imm = 0xA30
LBB0_6:
	movl	$2, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1\n"

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

	.no_dead_strip	_show_bank1_alarm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_bank1_alarm
_show_bank1_alarm:                      ; @show_bank1_alarm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x0
	mov	x0, x1
	bl	_to_sensor_dev_attr_2
	mov	x20, x0
	mov	x0, x21
	bl	_abituguru_update_device
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x9, [x0]
	ldr	w8, [x20]
	add	w10, w8, #7
	cmp	w8, #0
	csel	w10, w10, w8, lt
	asr	w10, w10, #3
	ldr	w9, [x9, w10, sxtw #2]
	and	x10, x8, #0x7
	lsr	w9, w9, w10
	tbz	w9, #0, LBB0_5
; %bb.2:
	sxtw	x8, w8
	ldr	x9, [x0, #8]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	strb	wzr, [x19, #2]
	mov	w8, #2609
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	strb	wzr, [x19, #2]
	mov	w8, #2608
LBB0_6:
	strh	w8, [x19]
	mov	w0, #2
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1\n"

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

	.no_dead_strip	_show_bank1_alarm
.subsections_via_symbols
