	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxl1x1sf_tuner_set_if_output_freq
_mxl1x1sf_tuner_set_if_output_freq:     ## @mxl1x1sf_tuner_set_if_output_freq
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_mxl_dbg
	movq	8(%r14), %rax
	movl	4(%rax), %edx
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movq	_V6_TUNER_IF_SEL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mxl111sf_tuner_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	_V6_TUNER_IF_FCW_BYP_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_mxl111sf_tuner_read_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movl	-28(%rbp), %edx
	andl	$96, %edx
	orl	$144, %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_mxl111sf_tuner_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_V6_TUNER_IF_FCW_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-28(%rbp), %edx
	movq	%r14, %rdi
	callq	_mxl111sf_tuner_write_reg
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mxl_fail
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	8(%r14), %rax
	movl	4(%rax), %eax
	movl	%eax, (%r14)
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(IF polarity = %d, IF freq = 0x%02x)"

	.comm	_V6_TUNER_IF_SEL_REG,4,2        ## @V6_TUNER_IF_SEL_REG
	.comm	_V6_TUNER_IF_FCW_BYP_REG,4,2    ## @V6_TUNER_IF_FCW_BYP_REG
	.comm	_V6_TUNER_IF_FCW_REG,4,2        ## @V6_TUNER_IF_FCW_REG
	.comm	_MXL_IF_HI,4,2                  ## @MXL_IF_HI
	.comm	_MXL_IF_LO,4,2                  ## @MXL_IF_LO
	.no_dead_strip	_mxl1x1sf_tuner_set_if_output_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxl1x1sf_tuner_set_if_output_freq
_mxl1x1sf_tuner_set_if_output_freq:     ; @mxl1x1sf_tuner_set_if_output_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldp	w1, w2, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_mxl_dbg
	ldr	x8, [x19, #8]
	ldp	w9, w8, [x8]
	orr	w2, w8, w9
	str	w2, [sp, #12]
Lloh2:
	adrp	x8, _V6_TUNER_IF_SEL_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V6_TUNER_IF_SEL_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mxl111sf_tuner_write_reg
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_5
; %bb.1:
Lloh5:
	adrp	x21, _V6_TUNER_IF_FCW_BYP_REG@GOTPAGE
Lloh6:
	ldr	x21, [x21, _V6_TUNER_IF_FCW_BYP_REG@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_mxl111sf_tuner_read_reg
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	w8, [sp, #12]
	and	w8, w8, #0x60
	mov	w9, #144
	orr	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_mxl111sf_tuner_write_reg
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _V6_TUNER_IF_FCW_REG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V6_TUNER_IF_FCW_REG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_mxl111sf_tuner_write_reg
	mov	x20, x0
	bl	_mxl_fail
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #4]
	str	w8, [x19]
LBB0_5:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(IF polarity = %d, IF freq = 0x%02x)"

	.comm	_V6_TUNER_IF_SEL_REG,4,2        ; @V6_TUNER_IF_SEL_REG
	.comm	_V6_TUNER_IF_FCW_BYP_REG,4,2    ; @V6_TUNER_IF_FCW_BYP_REG
	.comm	_V6_TUNER_IF_FCW_REG,4,2        ; @V6_TUNER_IF_FCW_REG
	.comm	_MXL_IF_HI,4,2                  ; @MXL_IF_HI
	.comm	_MXL_IF_LO,4,2                  ; @MXL_IF_LO
	.no_dead_strip	_mxl1x1sf_tuner_set_if_output_freq
.subsections_via_symbols
