	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xonar_set_cs53x1_params        ## -- Begin function xonar_set_cs53x1_params
	.p2align	4, 0x90
_xonar_set_cs53x1_params:               ## @xonar_set_cs53x1_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_params_rate
	cmpl	$54001, %eax                    ## imm = 0xD2F1
	jge	LBB0_2
## %bb.1:
	movq	_GPIO_CS53x1_M_SINGLE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	%rbx, %rdi
	callq	_params_rate
	cmpl	$108001, %eax                   ## imm = 0x1A5E1
	jge	LBB0_3
## %bb.4:
	movq	_GPIO_CS53x1_M_DOUBLE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_GPIO_CS53x1_M_QUAD@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	movq	_OXYGEN_GPIO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPIO_CS53x1_M_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_oxygen_write16_masked          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_CS53x1_M_SINGLE,4,2       ## @GPIO_CS53x1_M_SINGLE
	.comm	_GPIO_CS53x1_M_DOUBLE,4,2       ## @GPIO_CS53x1_M_DOUBLE
	.comm	_GPIO_CS53x1_M_QUAD,4,2         ## @GPIO_CS53x1_M_QUAD
	.comm	_OXYGEN_GPIO_DATA,4,2           ## @OXYGEN_GPIO_DATA
	.comm	_GPIO_CS53x1_M_MASK,4,2         ## @GPIO_CS53x1_M_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xonar_set_cs53x1_params        ; -- Begin function xonar_set_cs53x1_params
	.p2align	2
_xonar_set_cs53x1_params:               ; @xonar_set_cs53x1_params
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_params_rate
	mov	w8, #54001
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GPIO_CS53x1_M_SINGLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_CS53x1_M_SINGLE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_params_rate
Lloh2:
	adrp	x8, _GPIO_CS53x1_M_QUAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GPIO_CS53x1_M_QUAD@GOTPAGEOFF]
Lloh4:
	adrp	x9, _GPIO_CS53x1_M_DOUBLE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GPIO_CS53x1_M_DOUBLE@GOTPAGEOFF]
	mov	w10, #42465
	movk	w10, #1, lsl #16
	cmp	w0, w10
	csel	x8, x9, x8, lt
LBB0_3:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _OXYGEN_GPIO_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OXYGEN_GPIO_DATA@GOTPAGEOFF]
Lloh8:
	adrp	x9, _GPIO_CS53x1_M_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GPIO_CS53x1_M_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w3, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_oxygen_write16_masked
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_CS53x1_M_SINGLE,4,2       ; @GPIO_CS53x1_M_SINGLE
	.comm	_GPIO_CS53x1_M_DOUBLE,4,2       ; @GPIO_CS53x1_M_DOUBLE
	.comm	_GPIO_CS53x1_M_QUAD,4,2         ; @GPIO_CS53x1_M_QUAD
	.comm	_OXYGEN_GPIO_DATA,4,2           ; @OXYGEN_GPIO_DATA
	.comm	_GPIO_CS53x1_M_MASK,4,2         ; @GPIO_CS53x1_M_MASK
.subsections_via_symbols
