	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx18_set_filter_param
_cx18_set_filter_param:                 ## @cx18_set_filter_param
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	16(%rbx), %rax
	xorl	%r9d, %r9d
	testq	%rax, %rax
	setne	%r9b
	testb	$1, (%rbx)
	movl	$2, %r15d
	cmovnel	%r15d, %r9d
	movq	_CX18_CPU_SET_FILTER_PARAM@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%rdi), %ecx
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$4, %edx
	movl	$1, %r8d
	callq	_cx18_vapi
	testb	$2, (%rbx)
	jne	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rbx)
	setne	%r15b
LBB0_2:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movl	(%r12), %esi
	movl	(%r14), %ecx
	movq	8(%rbx), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movl	$4, %edx
	xorl	%r8d, %r8d
	movl	%r15d, %r9d
	callq	_cx18_vapi
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %esi
	movl	(%r14), %ecx
	movl	(%rbx), %r9d
	sarl	$2, %r9d
	movq	$0, (%rsp)
	movq	%rbx, %rdi
	movl	$4, %edx
	movl	$2, %r8d
	callq	_cx18_vapi
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CX18_CPU_SET_FILTER_PARAM,4,2  ## @CX18_CPU_SET_FILTER_PARAM
	.no_dead_strip	_cx18_set_filter_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx18_set_filter_param
_cx18_set_filter_param:                 ; @cx18_set_filter_param
	.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	x20, x0
	ldr	x19, [x0, #8]
	ldr	w8, [x19]
	ldr	x6, [x19, #16]
	cmp	x6, #0
	cset	w9, ne
	tst	w8, #0x1
	mov	w21, #2
	csel	w5, w9, w21, eq
Lloh0:
	adrp	x22, _CX18_CPU_SET_FILTER_PARAM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CX18_CPU_SET_FILTER_PARAM@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w3, [x0]
	mov	x0, x19
	mov	w2, #4
	mov	w4, #1
	bl	_cx18_vapi
	ldrb	w8, [x19]
	tbnz	w8, #1, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w21, ne
LBB0_2:
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w1, [x22]
	ldr	w3, [x20]
	ldr	x6, [x19, #8]
	mov	x0, x19
	mov	w2, #4
	mov	w4, #0
	mov	x5, x21
	bl	_cx18_vapi
	cbz	w0, LBB0_5
LBB0_4:
	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
LBB0_5:
	ldr	w1, [x22]
	ldr	w3, [x20]
	ldr	w8, [x19]
	asr	w5, w8, #2
	mov	x0, x19
	mov	w2, #4
	mov	w4, #2
	mov	x6, #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
	b	_cx18_vapi
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CX18_CPU_SET_FILTER_PARAM,4,2  ; @CX18_CPU_SET_FILTER_PARAM
	.no_dead_strip	_cx18_set_filter_param
.subsections_via_symbols
