	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rme9652_set_passthru
_rme9652_set_passthru:                  ## @rme9652_set_passthru
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	$1, %r14d
	movq	%rbx, %rdi
	movl	$-1, %esi
	movl	$1, %edx
	callq	_rme9652_set_thru
	movq	_RME9652_inp_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$7, %edi
	callq	_rme9652_encode_latency
	orl	%r15d, %eax
	movq	_RME9652_start_bit@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_rme9652_reset_hw_pointer
	movq	_RME9652_control_register@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rme9652_write
	jmp	LBB0_3
LBB0_2:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$-1, %esi
	xorl	%edx, %edx
	callq	_rme9652_set_thru
	movq	%rbx, %rdi
	callq	_rme9652_stop
LBB0_3:
	movl	%r14d, 4(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME9652_inp_0,4,2              ## @RME9652_inp_0
	.comm	_RME9652_start_bit,4,2          ## @RME9652_start_bit
	.comm	_RME9652_control_register,4,2   ## @RME9652_control_register
	.no_dead_strip	_rme9652_set_passthru
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rme9652_set_passthru
_rme9652_set_passthru:                  ; @rme9652_set_passthru
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cbz	w1, LBB0_2
; %bb.1:
	mov	w20, #1
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #1
	bl	_rme9652_set_thru
Lloh0:
	adrp	x8, _RME9652_inp_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RME9652_inp_0@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	w0, #7
	bl	_rme9652_encode_latency
	orr	w8, w0, w21
Lloh3:
	adrp	x9, _RME9652_start_bit@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RME9652_start_bit@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	bl	_rme9652_reset_hw_pointer
Lloh6:
	adrp	x8, _RME9652_control_register@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RME9652_control_register@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_rme9652_write
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #0
	bl	_rme9652_set_thru
	mov	x0, x19
	bl	_rme9652_stop
	mov	w20, #0
LBB0_3:
	str	w20, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RME9652_inp_0,4,2              ; @RME9652_inp_0
	.comm	_RME9652_start_bit,4,2          ; @RME9652_start_bit
	.comm	_RME9652_control_register,4,2   ; @RME9652_control_register
	.no_dead_strip	_rme9652_set_passthru
.subsections_via_symbols
