	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logolamp_get
_logolamp_get:                          ## @logolamp_get
	.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	(%rdi), %rax
	movl	(%rax), %edi
	callq	_to_acpi_device
	movq	%rax, %rbx
	movq	_FUNC_LEDS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_LOGOLAMP_ALWAYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_call_fext_func
	movq	_FUNC_LED_ON@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_2
## %bb.1:
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movl	(%r14), %esi
	movq	_LOGOLAMP_POWERON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_call_fext_func
	cmpl	(%r15), %eax
	jne	LBB0_3
## %bb.4:
	movq	_LED_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FUNC_LEDS,4,2                  ## @FUNC_LEDS
	.comm	_LOGOLAMP_ALWAYS,4,2            ## @LOGOLAMP_ALWAYS
	.comm	_FUNC_LED_ON,4,2                ## @FUNC_LED_ON
	.comm	_LED_FULL,4,2                   ## @LED_FULL
	.comm	_LOGOLAMP_POWERON,4,2           ## @LOGOLAMP_POWERON
	.comm	_LED_HALF,4,2                   ## @LED_HALF
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.no_dead_strip	_logolamp_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logolamp_get
_logolamp_get:                          ; @logolamp_get
	.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
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_to_acpi_device
	mov	x19, x0
Lloh0:
	adrp	x20, _FUNC_LEDS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FUNC_LEDS@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _LOGOLAMP_ALWAYS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LOGOLAMP_ALWAYS@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	w2, #2
	mov	w4, #0
	bl	_call_fext_func
Lloh5:
	adrp	x21, _FUNC_LED_ON@GOTPAGE
Lloh6:
	ldr	x21, [x21, _FUNC_LED_ON@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _LED_FULL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LED_FULL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _LOGOLAMP_POWERON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOGOLAMP_POWERON@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #2
	mov	w4, #0
	bl	_call_fext_func
	ldr	w8, [x21]
Lloh12:
	adrp	x9, _LED_OFF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LED_OFF@GOTPAGEOFF]
Lloh14:
	adrp	x10, _LED_HALF@GOTPAGE
Lloh15:
	ldr	x10, [x10, _LED_HALF@GOTPAGEOFF]
	cmp	w0, w8
	csel	x8, x10, x9, eq
LBB0_3:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FUNC_LEDS,4,2                  ; @FUNC_LEDS
	.comm	_LOGOLAMP_ALWAYS,4,2            ; @LOGOLAMP_ALWAYS
	.comm	_FUNC_LED_ON,4,2                ; @FUNC_LED_ON
	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_LOGOLAMP_POWERON,4,2           ; @LOGOLAMP_POWERON
	.comm	_LED_HALF,4,2                   ; @LED_HALF
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.no_dead_strip	_logolamp_get
.subsections_via_symbols
