	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_led_to_point               ## -- Begin function map_led_to_point
	.p2align	4, 0x90
_map_led_to_point:                      ## @map_led_to_point
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_g_map_led_to_point@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	(%r15,%rdi,4), %rdi
	callq	_pgm_read_byte
	movl	%eax, (%r14)
	leaq	(%r15,%rbx,4), %rdi
	addq	$8, %rdi
	callq	_pgm_read_byte
	movl	%eax, 4(%r14)
	cmpq	$22, %rbx
	jne	LBB0_3
## %bb.1:
	movq	_g_config@GOTPCREL(%rip), %rax
	cmpl	$0, 16(%rax)
	je	LBB0_3
## %bb.2:
	addl	$-8, (%r14)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_map_led_to_point,8,3         ## @g_map_led_to_point
	.comm	_g_config,20,2                  ## @g_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_led_to_point               ; -- Begin function map_led_to_point
	.p2align	2
_map_led_to_point:                      ; @map_led_to_point
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _g_map_led_to_point@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_map_led_to_point@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x21, x8, x0, lsl #2
	mov	x0, x21
	bl	_pgm_read_byte
	str	w0, [x19]
	add	x0, x21, #8
	bl	_pgm_read_byte
	str	w0, [x19, #4]
	cmp	x20, #22
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _g_config@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_config@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w8, [x19]
	sub	w8, w8, #8
	str	w8, [x19]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_g_map_led_to_point,8,3         ; @g_map_led_to_point
	.comm	_g_config,20,2                  ; @g_config
.subsections_via_symbols
