	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_led
_handle_led:                            ## @handle_led
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_hfcusb_idtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	(%rbx), %rax
	movq	_LED_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %r12
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_17
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	addq	$8, %rbx
	movl	$1, %r14d
	movl	$1, %eax
	jmp	LBB0_15
LBB0_5:
	addq	$8, %rbx
	xorl	%r14d, %r14d
	movl	$1, %eax
	jmp	LBB0_15
LBB0_6:
	leaq	8(%rbx), %r15
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_set_led_bit
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_7:
	leaq	8(%rbx), %r15
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_set_led_bit
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
LBB0_8:
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_set_led_bit
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_set_led_bit
	movl	$3, %eax
	jmp	LBB0_16
LBB0_9:
	addq	$8, %rbx
	movl	$1, %r14d
	jmp	LBB0_11
LBB0_10:
	addq	$8, %rbx
	xorl	%r14d, %r14d
LBB0_11:
	movl	$3, %eax
	jmp	LBB0_15
LBB0_12:
	addq	$8, %rbx
	movl	$1, %r14d
	jmp	LBB0_14
LBB0_13:
	addq	$8, %rbx
	xorl	%r14d, %r14d
LBB0_14:
	movl	$2, %eax
LBB0_15:
	movq	%rbx, %r15
LBB0_16:
	movq	(%r15), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_set_led_bit
LBB0_17:
	movl	8(%r12), %esi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_led                      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_hfcusb_idtab,8,3               ## @hfcusb_idtab
	.comm	_LED_OFF,8,3                    ## @LED_OFF
	.no_dead_strip	_handle_led
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_led
_handle_led:                            ; @handle_led
	.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
Lloh0:
	adrp	x8, _hfcusb_idtab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hfcusb_idtab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x20, [x8, x9, lsl #3]
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _LED_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LED_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_16
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	add	x20, x20, #8
	mov	w8, #1
	mov	w2, #1
	b	LBB0_15
LBB0_5:
	mov	w2, #0
	add	x20, x20, #8
	mov	w8, #1
	b	LBB0_15
LBB0_6:
	ldr	x8, [x20, #8]!
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	b	LBB0_8
LBB0_7:
	ldr	x8, [x20, #8]!
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
LBB0_8:
	bl	_set_led_bit
	ldr	x8, [x20]
	ldr	w1, [x8, #4]
	mov	x0, x19
	mov	w2, #0
	bl	_set_led_bit
	ldr	x8, [x20]
	ldr	w1, [x8, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_set_led_bit
	mov	w2, #0
	b	LBB0_11
LBB0_9:
	add	x20, x20, #8
	mov	w2, #1
	b	LBB0_11
LBB0_10:
	mov	w2, #0
	add	x20, x20, #8
LBB0_11:
	mov	w8, #3
	b	LBB0_15
LBB0_12:
	add	x20, x20, #8
	mov	w2, #1
	b	LBB0_14
LBB0_13:
	mov	w2, #0
	add	x20, x20, #8
LBB0_14:
	mov	w8, #2
LBB0_15:
	ldr	x9, [x20]
	ldr	w1, [x9, x8, lsl #2]
	mov	x0, x19
	bl	_set_led_bit
LBB0_16:
	ldr	w1, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_led
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
                                        ; -- End function
	.comm	_hfcusb_idtab,8,3               ; @hfcusb_idtab
	.comm	_LED_OFF,8,3                    ; @LED_OFF
	.no_dead_strip	_handle_led
.subsections_via_symbols
