	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_bank
_get_bank:                              ## @get_bank
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	(%rsi), %rcx
	movq	_MIDI_CTL_MSB_BANK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$128, %eax
	cmpl	$127, (%rcx,%rdx,4)
	je	LBB0_7
## %bb.3:
	movq	_MIDI_CTL_LSB_BANK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movl	$128, %eax
	cmpl	$0, 8(%rsi)
	je	LBB0_5
LBB0_7:
	popq	%rbp
	retq
LBB0_5:
	movq	(%rsi), %rcx
	movq	_MIDI_CTL_MSB_BANK@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIDI_CTL_MSB_BANK,8,3          ## @MIDI_CTL_MSB_BANK
	.comm	_MIDI_CTL_LSB_BANK,8,3          ## @MIDI_CTL_LSB_BANK
	.no_dead_strip	_get_bank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_bank
_get_bank:                              ; @get_bank
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _MIDI_CTL_MSB_BANK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIDI_CTL_MSB_BANK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #127
	b.ne	LBB0_9
; %bb.3:
	mov	w0, #128
	ret
LBB0_4:
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_8
; %bb.5:
	mov	w0, #128
	ret
LBB0_6:
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_8
; %bb.7:
	mov	w0, #128
	ret
LBB0_8:
	ldr	x8, [x1]
Lloh3:
	adrp	x9, _MIDI_CTL_MSB_BANK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIDI_CTL_MSB_BANK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh5:
	adrp	x9, _MIDI_CTL_LSB_BANK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MIDI_CTL_LSB_BANK@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MIDI_CTL_MSB_BANK,8,3          ; @MIDI_CTL_MSB_BANK
	.comm	_MIDI_CTL_LSB_BANK,8,3          ; @MIDI_CTL_LSB_BANK
	.no_dead_strip	_get_bank
.subsections_via_symbols
