	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_mtpav_read_bytes
_snd_mtpav_read_bytes:                  ## @snd_mtpav_read_bytes
	.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, %rbx
	movq	_SREG@GOTPCREL(%rip), %rax
	movq	%rax, %r12
	movl	(%rax), %esi
	callq	_snd_mtpav_getreg
	movq	_SIGS_BYTE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_CREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_mtpav_getreg
	movq	_SIGC_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	xorl	$255, %edx
	andl	%eax, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	orl	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_CREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r13
	movq	%rbx, %rdi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	callq	_snd_mtpav_mputreg
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_snd_mtpav_getreg
	movl	%eax, %r14d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_snd_mtpav_mputreg
	movq	_SIGS_IN1@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_SIGS_IN0@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	andl	%r14d, %r13d
	sarl	$4, %r13d
	movq	_CREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_snd_mtpav_mputreg
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_snd_mtpav_getreg
	movl	%eax, %r12d
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	callq	_snd_mtpav_mputreg
	movq	_SIGS_IN1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SIGS_IN0@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	andl	%r12d, %r15d
	sarl	$2, %r15d
	andl	$-4, %r15d
	movq	_CREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_snd_mtpav_mputreg
	movq	_SREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_mtpav_getreg
	movl	%eax, %r12d
	movq	_CREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_snd_mtpav_mputreg
	movq	_SIGS_IN1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_SIGS_IN0@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	andl	%r12d, %r14d
	andl	$-16, %r14d
	orl	%r13d, %r14d
	orl	%r15d, %r14d
	movq	_SIGS_BYTE@GOTPCREL(%rip), %r15
	movq	_CREG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_snd_mtpav_mputreg
	movq	_SREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_snd_mtpav_getreg
	movl	%eax, %r12d
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_snd_mtpav_mputreg
	movq	_SIGS_IN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SIGS_IN0@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	andl	%r12d, %esi
	shll	$2, %esi
	andl	$-64, %esi
	orl	%r14d, %esi
	movq	_SREG@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	callq	_snd_mtpav_inmidi_h
	movq	%r14, %r12
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_snd_mtpav_getreg
	testl	%eax, (%r15)
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SREG,4,2                       ## @SREG
	.comm	_SIGS_BYTE,4,2                  ## @SIGS_BYTE
	.comm	_CREG,4,2                       ## @CREG
	.comm	_SIGC_READ,4,2                  ## @SIGC_READ
	.comm	_SIGS_IN0,4,2                   ## @SIGS_IN0
	.comm	_SIGS_IN1,4,2                   ## @SIGS_IN1
	.no_dead_strip	_snd_mtpav_read_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_mtpav_read_bytes
_snd_mtpav_read_bytes:                  ; @snd_mtpav_read_bytes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x23, _SREG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SREG@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_snd_mtpav_getreg
Lloh2:
	adrp	x24, _SIGS_BYTE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SIGS_BYTE@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh4:
	adrp	x25, _CREG@GOTPAGE
Lloh5:
	ldr	x25, [x25, _CREG@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_snd_mtpav_getreg
Lloh6:
	adrp	x8, _SIGC_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGC_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	eor	w9, w8, #0xff
	and	w20, w9, w0
	orr	w21, w8, w0
Lloh9:
	adrp	x26, _SIGS_IN0@GOTPAGE
Lloh10:
	ldr	x26, [x26, _SIGS_IN0@GOTPAGEOFF]
Lloh11:
	adrp	x27, _SIGS_IN1@GOTPAGE
Lloh12:
	ldr	x27, [x27, _SIGS_IN1@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	bl	_snd_mtpav_mputreg
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_mtpav_getreg
	mov	x22, x0
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_snd_mtpav_mputreg
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	and	w28, w8, w22
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	bl	_snd_mtpav_mputreg
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_mtpav_getreg
	mov	x22, x0
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_snd_mtpav_mputreg
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	and	w8, w8, w22
	asr	w8, w8, #2
	and	w8, w8, #0xfffffffc
	orr	w28, w8, w28, asr #4
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	bl	_snd_mtpav_mputreg
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_mtpav_getreg
	mov	x22, x0
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_snd_mtpav_mputreg
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	and	w8, w8, w22
	and	w8, w8, #0xfffffff0
	orr	w28, w8, w28
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	bl	_snd_mtpav_mputreg
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_mtpav_getreg
	mov	x22, x0
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	bl	_snd_mtpav_mputreg
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	and	w8, w8, w22
	lsl	w8, w8, #2
	and	w8, w8, #0xffffffc0
	orr	w1, w8, w28
	mov	x0, x19
	bl	_snd_mtpav_inmidi_h
	ldr	w1, [x23]
	mov	x0, x19
	bl	_snd_mtpav_getreg
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SREG,4,2                       ; @SREG
	.comm	_SIGS_BYTE,4,2                  ; @SIGS_BYTE
	.comm	_CREG,4,2                       ; @CREG
	.comm	_SIGC_READ,4,2                  ; @SIGC_READ
	.comm	_SIGS_IN0,4,2                   ; @SIGS_IN0
	.comm	_SIGS_IN1,4,2                   ; @SIGS_IN1
	.no_dead_strip	_snd_mtpav_read_bytes
.subsections_via_symbols
