	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rme9652_set_thru
_rme9652_set_thru:                      ## @rme9652_set_thru
	.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, %r14
	movq	$0, 16(%rdi)
	testl	%esi, %esi
	js	LBB0_1
## %bb.9:
	movq	8(%r14), %rax
	movl	%esi, %ecx
	movslq	(%rax,%rcx,4), %rcx
	movl	$1, %eax
	shll	%cl, %eax
	testl	%edx, %edx
	je	LBB0_11
## %bb.10:
	orl	%eax, (%r14)
	jmp	LBB0_12
LBB0_1:
	movq	_RME9652_NCHANNELS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%edx, %edx
	je	LBB0_6
## %bb.2:
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%r12d, %r12d
	movq	_RME9652_thru_base@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	orl	%eax, (%r14)
	movq	(%r13), %rsi
	addq	%r12, %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_rme9652_write
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_11:
	notl	%eax
	andl	%eax, (%r14)
LBB0_12:
	xorl	%eax, %eax
	testl	%edx, %edx
	setne	%al
	movq	_RME9652_thru_base@GOTPCREL(%rip), %rdx
	shlq	$2, %rcx
	addq	(%rdx), %rcx
	movq	%r14, %rdi
	movq	%rcx, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rme9652_write                  ## TAILCALL
LBB0_6:
	testl	%eax, %eax
	jle	LBB0_5
## %bb.7:
	xorl	%r12d, %r12d
	movq	_RME9652_thru_base@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-2, %eax
	movl	%ebx, %ecx
	roll	%cl, %eax
	andl	%eax, (%r14)
	movq	(%r13), %rsi
	addq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rme9652_write
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME9652_NCHANNELS,4,2          ## @RME9652_NCHANNELS
	.comm	_RME9652_thru_base,8,3          ## @RME9652_thru_base
	.no_dead_strip	_rme9652_set_thru
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rme9652_set_thru
_rme9652_set_thru:                      ; @rme9652_set_thru
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	str	xzr, [x0, #16]
	tbnz	w1, #31, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, w1, uxtw #2]
	sxtw	x8, w8
	mov	w9, #1
	lsl	w9, w9, w8
	cbz	w2, LBB0_7
; %bb.2:
	ldr	w10, [x19]
	orr	w9, w10, w9
	b	LBB0_8
LBB0_3:
Lloh0:
	adrp	x20, _RME9652_NCHANNELS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RME9652_NCHANNELS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	cbz	w2, LBB0_9
; %bb.4:
	b.lt	LBB0_12
; %bb.5:
	mov	x21, #0
	mov	x22, #0
	mov	w23, #1
Lloh2:
	adrp	x24, _RME9652_thru_base@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RME9652_thru_base@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w23, w22
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x24]
	add	x1, x21, x8
	mov	x0, x19
	mov	w2, #1
	bl	_rme9652_write
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_6
	b	LBB0_12
LBB0_7:
	ldr	w10, [x19]
	bic	w9, w10, w9
LBB0_8:
	str	w9, [x19]
	cmp	w2, #0
Lloh4:
	adrp	x9, _RME9652_thru_base@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RME9652_thru_base@GOTPAGEOFF]
	cset	w2, ne
Lloh6:
	ldr	x9, [x9]
	add	x1, x9, x8, lsl #2
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rme9652_write
LBB0_9:
	b.lt	LBB0_12
; %bb.10:
	mov	x21, #0
	mov	x22, #0
	mov	w23, #1
Lloh7:
	adrp	x24, _RME9652_thru_base@GOTPAGE
Lloh8:
	ldr	x24, [x24, _RME9652_thru_base@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	lsl	w8, w23, w22
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x24]
	add	x1, x21, x8
	mov	x0, x19
	mov	w2, #0
	bl	_rme9652_write
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RME9652_NCHANNELS,4,2          ; @RME9652_NCHANNELS
	.comm	_RME9652_thru_base,8,3          ; @RME9652_thru_base
	.no_dead_strip	_rme9652_set_thru
.subsections_via_symbols
