	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lenovo_led_brightness_get_tpkbd
_lenovo_led_brightness_get_tpkbd:       ## @lenovo_led_brightness_get_tpkbd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	callq	_to_hid_device
	movq	%rax, %rdi
	callq	_hid_get_drvdata
	leaq	8(%rax), %rcx
	xorl	%edx, %edx
	cmpq	%rbx, %rcx
	sete	%dl
	movl	(%rax), %eax
	btl	%edx, %eax
	jb	LBB0_1
## %bb.2:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_LED_FULL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LED_FULL,4,2                   ## @LED_FULL
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.no_dead_strip	_lenovo_led_brightness_get_tpkbd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lenovo_led_brightness_get_tpkbd
_lenovo_led_brightness_get_tpkbd:       ; @lenovo_led_brightness_get_tpkbd
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x0, [x8]
	bl	_to_hid_device
	bl	_hid_get_drvdata
	ldr	w8, [x0], #8
	cmp	x0, x19
Lloh0:
	adrp	x9, _LED_FULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LED_FULL@GOTPAGEOFF]
Lloh2:
	adrp	x10, _LED_OFF@GOTPAGE
Lloh3:
	ldr	x10, [x10, _LED_OFF@GOTPAGEOFF]
	cset	w11, eq
	lsr	w8, w8, w11
	tst	w8, #0x1
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.no_dead_strip	_lenovo_led_brightness_get_tpkbd
.subsections_via_symbols
