	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bl_update_status
_bl_update_status:                      ## @bl_update_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	callq	_set_backlight_level
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	(%rbx), %rax
	movq	_FB_BLANK_UNBLANK@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movl	8(%rbx), %eax
	movq	_BL_CORE_SUSPENDED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	_BL_CORE_FBBLANK@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	testl	%eax, (%rcx)
	sete	%dil
LBB0_4:
	callq	_set_backlight_state
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FB_BLANK_UNBLANK,8,3           ## @FB_BLANK_UNBLANK
	.comm	_BL_CORE_SUSPENDED,4,2          ## @BL_CORE_SUSPENDED
	.comm	_BL_CORE_FBBLANK,4,2            ## @BL_CORE_FBBLANK
	.no_dead_strip	_bl_update_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bl_update_status
_bl_update_status:                      ; @bl_update_status
	.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, x0
	ldr	w0, [x0, #12]
	bl	_set_backlight_level
	mov	x19, x0
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _FB_BLANK_UNBLANK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FB_BLANK_UNBLANK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x20, #8]
Lloh3:
	adrp	x9, _BL_CORE_SUSPENDED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BL_CORE_SUSPENDED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x9, _BL_CORE_FBBLANK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BL_CORE_FBBLANK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
LBB0_5:
	bl	_set_backlight_state
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FB_BLANK_UNBLANK,8,3           ; @FB_BLANK_UNBLANK
	.comm	_BL_CORE_SUSPENDED,4,2          ; @BL_CORE_SUSPENDED
	.comm	_BL_CORE_FBBLANK,4,2            ; @BL_CORE_FBBLANK
	.no_dead_strip	_bl_update_status
.subsections_via_symbols
