	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_bl_status
_update_bl_status:                      ## @update_bl_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_FB_BLANK_UNBLANK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rdi), %rcx
	xorq	%rax, %rcx
	xorq	16(%rdi), %rax
	orq	%rcx, %rax
	movl	$0, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rdi), %eax
LBB0_2:
	movq	_ACER_CAP_BRIGHTNESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_set_u32
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FB_BLANK_UNBLANK,8,3           ## @FB_BLANK_UNBLANK
	.comm	_ACER_CAP_BRIGHTNESS,4,2        ## @ACER_CAP_BRIGHTNESS
	.no_dead_strip	_update_bl_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_bl_status
_update_bl_status:                      ; @update_bl_status
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FB_BLANK_UNBLANK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FB_BLANK_UNBLANK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldp	x10, x11, [x0, #8]
	cmp	x10, x9
	ccmp	x11, x9, #0, eq
	csel	w0, w8, wzr, eq
Lloh3:
	adrp	x8, _ACER_CAP_BRIGHTNESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACER_CAP_BRIGHTNESS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_set_u32
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FB_BLANK_UNBLANK,8,3           ; @FB_BLANK_UNBLANK
	.comm	_ACER_CAP_BRIGHTNESS,4,2        ; @ACER_CAP_BRIGHTNESS
	.no_dead_strip	_update_bl_status
.subsections_via_symbols
