	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function picolcd_led_get_brightness
_picolcd_led_get_brightness:            ## @picolcd_led_get_brightness
	.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
	movq	8(%rax), %rcx
	cmpq	%rbx, (%rcx)
	je	LBB0_1
## %bb.2:
	cmpq	%rbx, 8(%rcx)
	je	LBB0_3
## %bb.4:
	cmpq	%rbx, 16(%rcx)
	je	LBB0_5
## %bb.6:
	cmpq	%rbx, 24(%rcx)
	je	LBB0_7
## %bb.8:
	cmpq	%rbx, 32(%rcx)
	je	LBB0_9
## %bb.10:
	cmpq	%rbx, 40(%rcx)
	je	LBB0_11
## %bb.12:
	cmpq	%rbx, 48(%rcx)
	je	LBB0_13
## %bb.14:
	cmpq	%rbx, 56(%rcx)
	jne	LBB0_18
## %bb.15:
	movl	$7, %ecx
	jmp	LBB0_16
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_3:
	movl	$1, %ecx
	jmp	LBB0_16
LBB0_5:
	movl	$2, %ecx
	jmp	LBB0_16
LBB0_7:
	movl	$3, %ecx
	jmp	LBB0_16
LBB0_9:
	movl	$4, %ecx
	jmp	LBB0_16
LBB0_11:
	movl	$5, %ecx
	jmp	LBB0_16
LBB0_13:
	movl	$6, %ecx
LBB0_16:
	movl	(%rax), %eax
	btl	%ecx, %eax
	jae	LBB0_18
## %bb.17:
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_18:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
LBB0_19:
	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	_picolcd_led_get_brightness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function picolcd_led_get_brightness
_picolcd_led_get_brightness:            ; @picolcd_led_get_brightness
	.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	x8, [x0, #8]
	ldr	x9, [x8]
	cmp	x9, x19
	b.eq	LBB0_9
; %bb.1:
	ldr	x9, [x8, #8]
	cmp	x9, x19
	b.eq	LBB0_10
; %bb.2:
	ldr	x9, [x8, #16]
	cmp	x9, x19
	b.eq	LBB0_11
; %bb.3:
	ldr	x9, [x8, #24]
	cmp	x9, x19
	b.eq	LBB0_12
; %bb.4:
	ldr	x9, [x8, #32]
	cmp	x9, x19
	b.eq	LBB0_13
; %bb.5:
	ldr	x9, [x8, #40]
	cmp	x9, x19
	b.eq	LBB0_14
; %bb.6:
	ldr	x9, [x8, #48]
	cmp	x9, x19
	b.eq	LBB0_15
; %bb.7:
	ldr	x8, [x8, #56]
	cmp	x8, x19
	b.ne	LBB0_18
; %bb.8:
	mov	w8, #7
	b	LBB0_16
LBB0_9:
	mov	w8, #0
	b	LBB0_16
LBB0_10:
	mov	w8, #1
	b	LBB0_16
LBB0_11:
	mov	w8, #2
	b	LBB0_16
LBB0_12:
	mov	w8, #3
	b	LBB0_16
LBB0_13:
	mov	w8, #4
	b	LBB0_16
LBB0_14:
	mov	w8, #5
	b	LBB0_16
LBB0_15:
	mov	w8, #6
LBB0_16:
	ldr	w9, [x0]
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_18
; %bb.17:
Lloh0:
	adrp	x8, _LED_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LED_FULL@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh2:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.no_dead_strip	_picolcd_led_get_brightness
.subsections_via_symbols
