	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f1x_determine_channel
_f1x_determine_channel:                 ## @f1x_determine_channel
	.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
	movl	%ecx, %r13d
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %r12d
	callq	_dct_ganging_enabled
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	shrl	%r12d
	movl	%r12d, %r14d
	andl	$1, %r14d
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.2:
	movq	%rbx, %rdi
	callq	_dct_interleave_enabled
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	callq	_dct_sel_interleave_addr
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movl	%eax, %ebx
	testb	$2, %bl
	jne	LBB0_7
## %bb.8:
	testb	$4, %bl
	movl	%r15d, %r14d
	jne	LBB0_9
## %bb.11:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_hweight8
                                        ## kill: def $eax killed $eax def $rax
	leal	12(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	jmp	LBB0_10
LBB0_12:
	callq	_dct_high_range_enabled
	xorl	$1, %r14d
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovel	%ecx, %r14d
	jmp	LBB0_13
LBB0_4:
	shrl	$6, %r15d
	jmp	LBB0_5
LBB0_7:
	movl	%r15d, %edi
	shrl	$16, %edi
	andl	$31, %edi
	callq	_hweight_long
	xorl	%ecx, %ecx
	testb	$1, %bl
	setne	%cl
	leal	(%rcx,%rcx,2), %ecx
	addl	$6, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r15d
	xorl	%eax, %r15d
LBB0_5:
	andl	$1, %r15d
	movl	%r15d, %r14d
	jmp	LBB0_13
LBB0_9:
	andb	$1, %bl
	orb	$8, %bl
	movl	%ebx, %ecx
LBB0_10:
	shrl	%cl, %r14d
	andl	$1, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_f1x_determine_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f1x_determine_channel
_f1x_determine_channel:                 ; @f1x_determine_channel
	.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	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w21, [x0]
	bl	_dct_ganging_enabled
	cbz	x0, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_3
LBB0_2:
	ubfx	w21, w21, #1, #1
	cbz	w23, LBB0_4
LBB0_3:
	mov	x0, x21
	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
LBB0_4:
	mov	x0, x22
	bl	_dct_interleave_enabled
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x22
	bl	_dct_sel_interleave_addr
	cbz	w0, LBB0_10
; %bb.6:
	tbnz	w0, #1, LBB0_11
; %bb.7:
	tbnz	w0, #2, LBB0_12
; %bb.8:
	mov	x0, x20
	bl	_hweight8
	add	w8, w0, #12
	b	LBB0_13
LBB0_9:
	mov	x0, x22
	bl	_dct_high_range_enabled
	eor	w8, w21, #0x1
	cmp	x0, #0
	csel	w21, wzr, w8, eq
	b	LBB0_3
LBB0_10:
	lsr	w8, w19, #6
	and	w21, w8, #0x1
	b	LBB0_3
LBB0_11:
	tst	w0, #0x1
	mov	w8, #9
	mov	w9, #6
	csel	w20, w9, w8, eq
	ubfx	w0, w19, #16, #5
	bl	_hweight_long
	lsr	w8, w19, w20
	eor	w8, w0, w8
	and	w21, w8, #0x1
	b	LBB0_3
LBB0_12:
	mov	w8, #8
	bfxil	w8, w0, #0, #1
LBB0_13:
	lsr	w8, w19, w8
	and	w21, w8, #0x1
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_f1x_determine_channel
.subsections_via_symbols
