	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_rme96_setclockmode
_snd_rme96_setclockmode:                ## @snd_rme96_setclockmode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$128, %esi
	je	LBB0_7
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.3:
	movq	_RME96_WCR_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	12(%rbx), %edi
	jmp	LBB0_5
LBB0_7:
	movq	_RME96_WCR_MASTER@GOTPCREL(%rip), %rax
	movl	12(%rbx), %edi
	orl	(%rax), %edi
	movl	%edi, 12(%rbx)
	movq	_RME96_AR_WSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	jmp	LBB0_8
LBB0_4:
	movq	_RME96_WCR_MASTER@GOTPCREL(%rip), %rax
	movl	12(%rbx), %edi
	orl	(%rax), %edi
LBB0_5:
	movl	%edi, 12(%rbx)
	movq	_RME96_AR_WSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_8:
	movq	_RME96_IO_CONTROL_REGISTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movl	8(%rbx), %edi
	movq	_RME96_IO_ADDITIONAL_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME96_WCR_MASTER,4,2           ## @RME96_WCR_MASTER
	.comm	_RME96_AR_WSEL,4,2              ## @RME96_AR_WSEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RME96_IO_CONTROL_REGISTER,8,3  ## @RME96_IO_CONTROL_REGISTER
	.comm	_RME96_IO_ADDITIONAL_REG,8,3    ## @RME96_IO_ADDITIONAL_REG
	.no_dead_strip	_snd_rme96_setclockmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_rme96_setclockmode
_snd_rme96_setclockmode:                ; @snd_rme96_setclockmode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _RME96_WCR_MASTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RME96_WCR_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #8]
	bic	w0, w9, w8
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _RME96_WCR_MASTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RME96_WCR_MASTER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #8]
	orr	w0, w9, w8
Lloh6:
	adrp	x8, _RME96_AR_WSEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RME96_AR_WSEL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w10, w8
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _RME96_WCR_MASTER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RME96_WCR_MASTER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #8]
	orr	w0, w9, w8
LBB0_6:
Lloh12:
	adrp	x8, _RME96_AR_WSEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RME96_AR_WSEL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	bic	w8, w10, w8
LBB0_7:
	stp	w8, w0, [x19, #8]
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _RME96_IO_CONTROL_REGISTER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RME96_IO_CONTROL_REGISTER@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _RME96_IO_ADDITIONAL_REG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RME96_IO_ADDITIONAL_REG@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RME96_WCR_MASTER,4,2           ; @RME96_WCR_MASTER
	.comm	_RME96_AR_WSEL,4,2              ; @RME96_AR_WSEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RME96_IO_CONTROL_REGISTER,8,3  ; @RME96_IO_CONTROL_REGISTER
	.comm	_RME96_IO_ADDITIONAL_REG,8,3    ; @RME96_IO_ADDITIONAL_REG
	.no_dead_strip	_snd_rme96_setclockmode
.subsections_via_symbols
