	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxl5005s_AssignTunerMode
_mxl5005s_AssignTunerMode:              ## @mxl5005s_AssignTunerMode
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	callq	_InitTunerControls
	movl	44(%rbx), %esi
	movl	40(%rbx), %edx
	movl	36(%rbx), %r8d
	movl	32(%rbx), %r9d
	movl	28(%rbx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	20(%rbx), %r13d
	movl	16(%rbx), %eax
	movl	12(%rbx), %r10d
	movl	8(%rbx), %r14d
	movl	(%rbx), %r11d
	movl	4(%rbx), %ebx
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%r15d, %ecx
	pushq	%r11
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%rbx
	pushq	%r14
	pushq	%r10
	pushq	%rax
	pushq	%r13
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_MXL5005_TunerConfig
	addq	$80, %rsp
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mxl5005s_AssignTunerMode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxl5005s_AssignTunerMode
_mxl5005s_AssignTunerMode:              ; @mxl5005s_AssignTunerMode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	bl	_InitTunerControls
	ldp	w2, w1, [x22, #40]
	ldp	w5, w4, [x22, #32]
	ldp	w7, w6, [x22, #24]
	ldp	w9, w8, [x22, #16]
	ldp	w11, w10, [x22, #8]
	ldp	w13, w12, [x22]
	stp	w20, w13, [sp, #20]
	stp	w11, w12, [sp, #12]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	mov	x0, x21
	mov	x3, x19
	bl	_MXL5005_TunerConfig
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mxl5005s_AssignTunerMode
.subsections_via_symbols
