	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_keymap          ## -- Begin function process_record_keymap
	.p2align	4, 0x90
_process_record_keymap:                 ## @process_record_keymap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$5, %edi
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	xorl	%eax, %eax
	cmpl	$0, (%rsi)
	je	LBB0_21
## %bb.4:
	movq	_MODS_SHIFT@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_21
## %bb.5:
	movq	_MODS_CTRL@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_21
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	_usb_extra_manual@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_7:
	xorl	%eax, %eax
	cmpl	$0, (%rsi)
	je	LBB0_21
## %bb.8:
	movq	_MODS_SHIFT@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_21
## %bb.9:
	movq	_MODS_CTRL@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_21
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movq	_usb_gcr_auto@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_11:
	cmpl	$0, (%rsi)
	je	LBB0_20
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	movq	_debug_enable@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_13:
	cmpl	$0, (%rsi)
	je	LBB0_20
## %bb.14:
	leaq	L_.str.3(%rip), %rsi
	movq	_debug_matrix@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	cmpl	$0, (%rsi)
	je	LBB0_20
## %bb.18:
	leaq	L_.str.5(%rip), %rsi
	movq	_debug_mouse@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_15:
	cmpl	$0, (%rsi)
	je	LBB0_20
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	movq	_debug_keyboard@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %edi
	callq	_TOGGLE_FLAG_AND_PRINT
LBB0_20:
	xorl	%eax, %eax
LBB0_21:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_MODS_SHIFT,4,2                 ## @MODS_SHIFT
	.comm	_MODS_CTRL,4,2                  ## @MODS_CTRL
	.comm	_usb_extra_manual,4,2           ## @usb_extra_manual
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"USB extra port manual mode"

	.comm	_usb_gcr_auto,4,2               ## @usb_gcr_auto
L_.str.1:                               ## @.str.1
	.asciz	"USB GCR auto mode"

	.comm	_debug_enable,4,2               ## @debug_enable
L_.str.2:                               ## @.str.2
	.asciz	"Debug mode"

	.comm	_debug_matrix,4,2               ## @debug_matrix
L_.str.3:                               ## @.str.3
	.asciz	"Debug matrix"

	.comm	_debug_keyboard,4,2             ## @debug_keyboard
L_.str.4:                               ## @.str.4
	.asciz	"Debug keyboard"

	.comm	_debug_mouse,4,2                ## @debug_mouse
L_.str.5:                               ## @.str.5
	.asciz	"Debug mouse"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_keymap          ; -- Begin function process_record_keymap
	.p2align	2
_process_record_keymap:                 ; @process_record_keymap
	.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
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x1]
Lloh2:
	adrp	x9, _MODS_SHIFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MODS_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _MODS_CTRL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MODS_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	ccmp	w10, #0, #4, ne
	b.eq	LBB0_16
; %bb.3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
Lloh10:
	adrp	x8, _usb_extra_manual@GOTPAGE
Lloh11:
	ldr	x8, [x8, _usb_extra_manual@GOTPAGEOFF]
	b	LBB0_15
LBB0_4:
	ldr	w8, [x1]
Lloh12:
	adrp	x9, _MODS_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MODS_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _MODS_CTRL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MODS_CTRL@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	ccmp	w10, #0, #4, ne
	b.eq	LBB0_16
; %bb.5:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh20:
	adrp	x8, _usb_gcr_auto@GOTPAGE
Lloh21:
	ldr	x8, [x8, _usb_gcr_auto@GOTPAGEOFF]
	b	LBB0_15
LBB0_6:
	ldr	w8, [x1]
	cbz	w8, LBB0_16
; %bb.7:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh24:
	adrp	x8, _debug_enable@GOTPAGE
Lloh25:
	ldr	x8, [x8, _debug_enable@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
	ldr	w8, [x1]
	cbz	w8, LBB0_16
; %bb.9:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh28:
	adrp	x8, _debug_matrix@GOTPAGE
Lloh29:
	ldr	x8, [x8, _debug_matrix@GOTPAGEOFF]
	b	LBB0_15
LBB0_10:
	ldr	w8, [x1]
	cbz	w8, LBB0_16
; %bb.11:
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
Lloh32:
	adrp	x8, _debug_mouse@GOTPAGE
Lloh33:
	ldr	x8, [x8, _debug_mouse@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	w8, [x1]
	cbz	w8, LBB0_16
; %bb.14:
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh36:
	adrp	x8, _debug_keyboard@GOTPAGE
Lloh37:
	ldr	x8, [x8, _debug_keyboard@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	bl	_TOGGLE_FLAG_AND_PRINT
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_MODS_SHIFT,4,2                 ; @MODS_SHIFT
	.comm	_MODS_CTRL,4,2                  ; @MODS_CTRL
	.comm	_usb_extra_manual,4,2           ; @usb_extra_manual
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"USB extra port manual mode"

	.comm	_usb_gcr_auto,4,2               ; @usb_gcr_auto
l_.str.1:                               ; @.str.1
	.asciz	"USB GCR auto mode"

	.comm	_debug_enable,4,2               ; @debug_enable
l_.str.2:                               ; @.str.2
	.asciz	"Debug mode"

	.comm	_debug_matrix,4,2               ; @debug_matrix
l_.str.3:                               ; @.str.3
	.asciz	"Debug matrix"

	.comm	_debug_keyboard,4,2             ; @debug_keyboard
l_.str.4:                               ; @.str.4
	.asciz	"Debug keyboard"

	.comm	_debug_mouse,4,2                ; @debug_mouse
l_.str.5:                               ; @.str.5
	.asciz	"Debug mouse"

.subsections_via_symbols
