	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_layer                  ## -- Begin function led_set_layer
	.p2align	4, 0x90
_led_set_layer:                         ## @led_set_layer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$1, %edi
	je	LBB0_4
## %bb.2:
	testl	%edi, %edi
	jne	LBB0_6
## %bb.3:
	xorl	%edi, %edi
	callq	_set_layer_led
	movl	$1, %edi
	movl	$1, %esi
	callq	_set_switch_led
	movl	$2, %edi
	movl	$1, %esi
	callq	_set_switch_led
	movl	$3, %edi
	movl	$1, %esi
	callq	_set_switch_led
	movl	$4, %edi
	movl	$1, %esi
	callq	_set_switch_led
	movl	$5, %edi
	movl	$1, %esi
	callq	_set_switch_led
	movl	$6, %edi
	movl	$1, %esi
	popq	%rbp
	jmp	_set_switch_led                 ## TAILCALL
LBB0_5:
	movl	$2, %edi
	popq	%rbp
	jmp	_set_layer_led                  ## TAILCALL
LBB0_4:
	movl	$1, %edi
	callq	_set_layer_led
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_set_switch_led
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_set_switch_led
	movl	$3, %edi
	xorl	%esi, %esi
	callq	_set_switch_led
	movl	$4, %edi
	xorl	%esi, %esi
	callq	_set_switch_led
	movl	$5, %edi
	xorl	%esi, %esi
	callq	_set_switch_led
	movl	$6, %edi
	xorl	%esi, %esi
	popq	%rbp
	jmp	_set_switch_led                 ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_layer                  ; -- Begin function led_set_layer
	.p2align	2
_led_set_layer:                         ; @led_set_layer
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w0, #2
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w0, LBB0_6
; %bb.3:
	bl	_set_layer_led
	mov	w0, #1
	mov	w1, #1
	bl	_set_switch_led
	mov	w0, #2
	mov	w1, #1
	bl	_set_switch_led
	mov	w0, #3
	mov	w1, #1
	bl	_set_switch_led
	mov	w0, #4
	mov	w1, #1
	bl	_set_switch_led
	mov	w0, #5
	mov	w1, #1
	bl	_set_switch_led
	mov	w0, #6
	mov	w1, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_set_switch_led
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_set_layer_led
LBB0_5:
	bl	_set_layer_led
	mov	w0, #1
	mov	w1, #0
	bl	_set_switch_led
	mov	w0, #2
	mov	w1, #0
	bl	_set_switch_led
	mov	w0, #3
	mov	w1, #0
	bl	_set_switch_led
	mov	w0, #4
	mov	w1, #0
	bl	_set_switch_led
	mov	w0, #5
	mov	w1, #0
	bl	_set_switch_led
	mov	w0, #6
	mov	w1, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_set_switch_led
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
