	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcmidi_handle_report4
_pcmidi_handle_report4:                 ## @pcmidi_handle_report4
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	4(%rsi), %eax
	movl	8(%rsi), %r15d
	shll	$16, %eax
	shll	$8, %r15d
	orl	%eax, %r15d
	orl	12(%rsi), %r15d
	xorl	%ebx, %ebx
	movq	_EV_KEY@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	cmpq	$24, %rbx
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	btl	%ebx, %r15d
	jb	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	20(%r12), %edi
	movl	(%r14), %esi
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	xorl	%ecx, %ecx
	callq	_input_event
	movq	(%r12), %rax
	movl	$0, (%rax,%rbx,4)
	jmp	LBB0_3
LBB0_4:
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r12), %eax
	leal	1(%rax), %edx
	cmpl	$2, %eax
	movl	$2, %eax
	cmovgel	%eax, %edx
	movl	%edx, 16(%r12)
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_hid
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	cmpq	$24, %r13
	je	LBB0_55
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	andl	%r15d, %eax
	cmpl	$8191, %eax                     ## imm = 0x1FFF
	jle	LBB0_6
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$262143, %eax                   ## imm = 0x3FFFF
	jle	LBB0_18
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2097151, %eax                  ## imm = 0x1FFFFF
	jg	LBB0_32
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$262144, %eax                   ## imm = 0x40000
	je	LBB0_40
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$524288, %eax                   ## imm = 0x80000
	je	LBB0_39
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1048576, %eax                  ## imm = 0x100000
	jne	LBB0_54
## %bb.30:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%r12), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_hid
	movl	12(%r12), %esi
	movq	_KEY_MESSENGER@GOTPCREL(%rip), %rcx
	testl	%esi, %esi
	jne	LBB0_31
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$255, %eax
	jg	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	decl	%eax
	cmpl	$15, %eax
	ja	LBB0_54
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_48:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_UNDO@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$32767, %eax                    ## imm = 0x7FFF
	jle	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$32768, %eax                    ## imm = 0x8000
	je	LBB0_47
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$65536, %eax                    ## imm = 0x10000
	je	LBB0_42
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$131072, %eax                   ## imm = 0x20000
	jne	LBB0_54
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	$193, %esi
	callq	_pcmidi_submit_output_report
	movl	12(%r12), %esi
	xorl	$1, %esi
	movl	%esi, 12(%r12)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg_hid
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1023, %eax                     ## imm = 0x3FF
	jle	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1024, %eax                     ## imm = 0x400
	je	LBB0_44
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2048, %eax                     ## imm = 0x800
	je	LBB0_45
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$4096, %eax                     ## imm = 0x1000
	jne	LBB0_54
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_NEW@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2097152, %eax                  ## imm = 0x200000
	je	LBB0_41
## %bb.33:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_CALENDAR@GOTPCREL(%rip), %rcx
	cmpl	$4194304, %eax                  ## imm = 0x400000
	je	LBB0_52
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$8388608, %eax                  ## imm = 0x800000
	jne	LBB0_54
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_WORDPROCESSOR@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$8192, %eax                     ## imm = 0x2000
	je	LBB0_46
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$16384, %eax                    ## imm = 0x4000
	jne	LBB0_54
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_CLOSE@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$256, %eax                      ## imm = 0x100
	je	LBB0_43
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$512, %eax                      ## imm = 0x200
	jne	LBB0_54
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_SEND@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_49:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_REDO@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_50:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_SPELLCHECK@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_51:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_PRINT@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	$16, 8(%r12)
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	$197, %esi
	callq	_pcmidi_submit_output_report
	jmp	LBB0_54
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_DOCUMENTS@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_39:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_ADDRESSBOOK@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_47:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_SAVE@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_42:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_COFFEE@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_44:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_REPLY@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_45:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_FORWARDMAIL@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_41:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_SPREADSHEET@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_46:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_OPEN@GOTPCREL(%rip), %rcx
	jmp	LBB0_52
LBB0_43:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_KEY_HELP@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rcx), %ebx
	testl	%ebx, %ebx
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	20(%r12), %edi
	movl	(%r14), %esi
	movl	%ebx, %edx
	movl	$1, %ecx
	callq	_input_event
	movq	(%r12), %rax
	movl	%ebx, (%rax,%r13,4)
	jmp	LBB0_54
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	$198, %esi
	callq	_pcmidi_submit_output_report
	jmp	LBB0_54
LBB0_55:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_49, LBB0_49-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_50, LBB0_50-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
LJTI0_0:
	.long	L0_0_set_48
	.long	L0_0_set_49
	.long	L0_0_set_54
	.long	L0_0_set_50
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_51
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_54
	.long	L0_0_set_36
	.end_data_region
                                        ## -- End function
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pcmidi mode: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"pcmidi mode: %d octave: %d\n"

	.comm	_KEY_MESSENGER,4,2              ## @KEY_MESSENGER
	.comm	_KEY_CALENDAR,4,2               ## @KEY_CALENDAR
	.comm	_KEY_ADDRESSBOOK,4,2            ## @KEY_ADDRESSBOOK
	.comm	_KEY_DOCUMENTS,4,2              ## @KEY_DOCUMENTS
	.comm	_KEY_WORDPROCESSOR,4,2          ## @KEY_WORDPROCESSOR
	.comm	_KEY_SPREADSHEET,4,2            ## @KEY_SPREADSHEET
	.comm	_KEY_COFFEE,4,2                 ## @KEY_COFFEE
	.comm	_KEY_HELP,4,2                   ## @KEY_HELP
	.comm	_KEY_SEND,4,2                   ## @KEY_SEND
	.comm	_KEY_REPLY,4,2                  ## @KEY_REPLY
	.comm	_KEY_FORWARDMAIL,4,2            ## @KEY_FORWARDMAIL
	.comm	_KEY_NEW,4,2                    ## @KEY_NEW
	.comm	_KEY_OPEN,4,2                   ## @KEY_OPEN
	.comm	_KEY_CLOSE,4,2                  ## @KEY_CLOSE
	.comm	_KEY_SAVE,4,2                   ## @KEY_SAVE
	.comm	_KEY_UNDO,4,2                   ## @KEY_UNDO
	.comm	_KEY_REDO,4,2                   ## @KEY_REDO
	.comm	_KEY_SPELLCHECK,4,2             ## @KEY_SPELLCHECK
	.comm	_KEY_PRINT,4,2                  ## @KEY_PRINT
	.no_dead_strip	_pcmidi_handle_report4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcmidi_handle_report4
_pcmidi_handle_report4:                 ; @pcmidi_handle_report4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	x20, #0
	ldp	w8, w9, [x1, #4]
	lsl	w9, w9, #8
	orr	w8, w9, w8, lsl #16
	ldr	w9, [x1, #12]
	orr	w23, w8, w9
Lloh0:
	adrp	x24, _EV_KEY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EV_KEY@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	cmp	x20, #24
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w23, w20
	tbnz	w8, #0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #20]
	ldr	w1, [x24]
	ldr	x8, [x19]
	lsl	x21, x20, #2
	ldr	w2, [x8, x21]
	mov	w3, #0
	bl	_input_event
	ldr	x8, [x19]
	str	wzr, [x8, x21]
	b	LBB0_1
LBB0_4:
	mov	x25, #0
Lloh2:
	adrp	x26, _KEY_CALENDAR@GOTPAGE
Lloh3:
	ldr	x26, [x26, _KEY_CALENDAR@GOTPAGEOFF]
Lloh4:
	adrp	x21, lJTI0_0@PAGE
Lloh5:
	add	x21, x21, lJTI0_0@PAGEOFF
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
	mov	w27, #1
Lloh8:
	adrp	x28, _KEY_WORDPROCESSOR@GOTPAGE
Lloh9:
	ldr	x28, [x28, _KEY_WORDPROCESSOR@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w1, #198
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_pcmidi_submit_output_report
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	cmp	x25, #24
	b.eq	LBB0_57
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w27, w25
	and	w8, w8, w23
	cmp	w8, #2, lsl #12                 ; =8192
	b.lt	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #64, lsl #12                ; =262144
	b.lt	LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #512, lsl #12               ; =2097152
	b.ge	LBB0_30
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #64, lsl #12                ; =262144
	b.eq	LBB0_40
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #128, lsl #12               ; =524288
	b.eq	LBB0_41
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #256, lsl #12               ; =1048576
	b.ne	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_dbg_hid
	ldr	w1, [x19, #12]
	cbz	w1, LBB0_56
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #16]
	cmp	w8, #2
	mov	w9, #2
	csinc	w8, w9, w8, ge
	str	w8, [x19, #16]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg_hid
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #255
	b.gt	LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	w8, w8, #1
	cmp	w8, #15
	b.hi	LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	adr	x9, LBB0_7
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh12:
	adrp	x9, _KEY_UNDO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _KEY_UNDO@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #8, lsl #12                 ; =32768
	b.lt	LBB0_34
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	b.eq	LBB0_47
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #16, lsl #12                ; =65536
	b.eq	LBB0_48
; %bb.23:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #32, lsl #12                ; =131072
	b.ne	LBB0_7
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	w1, #193
	bl	_pcmidi_submit_output_report
	ldr	w8, [x19, #12]
	eor	w1, w8, #0x1
	str	w1, [x19, #12]
	mov	x0, x20
	bl	_dbg_hid
	b	LBB0_7
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #1023
	b.le	LBB0_37
; %bb.26:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #1024
	b.eq	LBB0_49
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #2048
	b.eq	LBB0_50
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #1, lsl #12                 ; =4096
	b.ne	LBB0_7
; %bb.29:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh15:
	adrp	x9, _KEY_NEW@GOTPAGE
Lloh16:
	ldr	x9, [x9, _KEY_NEW@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_30:                                ;   in Loop: Header=BB0_8 Depth=1
	b.eq	LBB0_51
; %bb.31:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, x26
	cmp	w8, #1024, lsl #12              ; =4194304
	b.eq	LBB0_54
; %bb.32:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #2048, lsl #12              ; =8388608
	b.ne	LBB0_7
; %bb.33:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, x28
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_34:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #2, lsl #12                 ; =8192
	b.eq	LBB0_52
; %bb.35:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #4, lsl #12                 ; =16384
	b.ne	LBB0_7
; %bb.36:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh18:
	adrp	x9, _KEY_CLOSE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _KEY_CLOSE@GOTPAGEOFF]
Lloh20:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_37:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #256
	b.eq	LBB0_53
; %bb.38:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #512
	b.ne	LBB0_7
; %bb.39:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh21:
	adrp	x9, _KEY_SEND@GOTPAGE
Lloh22:
	ldr	x9, [x9, _KEY_SEND@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_40:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh24:
	adrp	x9, _KEY_DOCUMENTS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _KEY_DOCUMENTS@GOTPAGEOFF]
Lloh26:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_41:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh27:
	adrp	x9, _KEY_ADDRESSBOOK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _KEY_ADDRESSBOOK@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_42:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh30:
	adrp	x9, _KEY_REDO@GOTPAGE
Lloh31:
	ldr	x9, [x9, _KEY_REDO@GOTPAGEOFF]
Lloh32:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_43:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh33:
	adrp	x9, _KEY_SPELLCHECK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _KEY_SPELLCHECK@GOTPAGEOFF]
Lloh35:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_44:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh36:
	adrp	x9, _KEY_PRINT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _KEY_PRINT@GOTPAGEOFF]
Lloh38:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_45:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #8]
	eor	w8, w8, #0x10
	str	w8, [x19, #8]
	mov	x0, x19
	cbz	w8, LBB0_5
; %bb.46:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w1, #197
	b	LBB0_6
LBB0_47:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh39:
	adrp	x9, _KEY_SAVE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _KEY_SAVE@GOTPAGEOFF]
Lloh41:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_48:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh42:
	adrp	x9, _KEY_COFFEE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _KEY_COFFEE@GOTPAGEOFF]
Lloh44:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_49:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh45:
	adrp	x9, _KEY_REPLY@GOTPAGE
Lloh46:
	ldr	x9, [x9, _KEY_REPLY@GOTPAGEOFF]
Lloh47:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_50:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh48:
	adrp	x9, _KEY_FORWARDMAIL@GOTPAGE
Lloh49:
	ldr	x9, [x9, _KEY_FORWARDMAIL@GOTPAGEOFF]
Lloh50:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_51:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh51:
	adrp	x9, _KEY_SPREADSHEET@GOTPAGE
Lloh52:
	ldr	x9, [x9, _KEY_SPREADSHEET@GOTPAGEOFF]
Lloh53:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_52:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh54:
	adrp	x9, _KEY_OPEN@GOTPAGE
Lloh55:
	ldr	x9, [x9, _KEY_OPEN@GOTPAGEOFF]
Lloh56:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_53:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh57:
	adrp	x9, _KEY_HELP@GOTPAGE
Lloh58:
	ldr	x9, [x9, _KEY_HELP@GOTPAGEOFF]
LBB0_54:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w22, [x9]
	cbz	w22, LBB0_7
LBB0_55:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19, #20]
	ldr	w1, [x24]
	mov	x2, x22
	mov	w3, #1
	bl	_input_event
	ldr	x8, [x19]
	str	w22, [x8, x25, lsl #2]
	b	LBB0_7
LBB0_56:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh59:
	adrp	x9, _KEY_MESSENGER@GOTPAGE
Lloh60:
	ldr	x9, [x9, _KEY_MESSENGER@GOTPAGEOFF]
Lloh61:
	ldr	w22, [x9]
	cbnz	w22, LBB0_55
	b	LBB0_7
LBB0_57:
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_7)>>2
	.byte	(LBB0_42-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_43-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_44-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_45-LBB0_7)>>2
                                        ; -- End function
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pcmidi mode: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"pcmidi mode: %d octave: %d\n"

	.comm	_KEY_MESSENGER,4,2              ; @KEY_MESSENGER
	.comm	_KEY_CALENDAR,4,2               ; @KEY_CALENDAR
	.comm	_KEY_ADDRESSBOOK,4,2            ; @KEY_ADDRESSBOOK
	.comm	_KEY_DOCUMENTS,4,2              ; @KEY_DOCUMENTS
	.comm	_KEY_WORDPROCESSOR,4,2          ; @KEY_WORDPROCESSOR
	.comm	_KEY_SPREADSHEET,4,2            ; @KEY_SPREADSHEET
	.comm	_KEY_COFFEE,4,2                 ; @KEY_COFFEE
	.comm	_KEY_HELP,4,2                   ; @KEY_HELP
	.comm	_KEY_SEND,4,2                   ; @KEY_SEND
	.comm	_KEY_REPLY,4,2                  ; @KEY_REPLY
	.comm	_KEY_FORWARDMAIL,4,2            ; @KEY_FORWARDMAIL
	.comm	_KEY_NEW,4,2                    ; @KEY_NEW
	.comm	_KEY_OPEN,4,2                   ; @KEY_OPEN
	.comm	_KEY_CLOSE,4,2                  ; @KEY_CLOSE
	.comm	_KEY_SAVE,4,2                   ; @KEY_SAVE
	.comm	_KEY_UNDO,4,2                   ; @KEY_UNDO
	.comm	_KEY_REDO,4,2                   ; @KEY_REDO
	.comm	_KEY_SPELLCHECK,4,2             ; @KEY_SPELLCHECK
	.comm	_KEY_PRINT,4,2                  ; @KEY_PRINT
	.no_dead_strip	_pcmidi_handle_report4
.subsections_via_symbols
