	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda10045h_set_bandwidth
_tda10045h_set_bandwidth:               ## @tda10045h_set_bandwidth
	.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	%rdi, %r14
	cmpl	$6000000, %esi                  ## imm = 0x5B8D80
	je	LBB0_1
## %bb.2:
	cmpl	$8000000, %esi                  ## imm = 0x7A1200
	je	LBB0_6
## %bb.3:
	cmpl	$7000000, %esi                  ## imm = 0x6ACFC0
	jne	LBB0_5
## %bb.4:
	leaq	_tda10045h_set_bandwidth.bandwidth_7mhz(%rip), %rdx
	jmp	LBB0_7
LBB0_1:
	leaq	_tda10045h_set_bandwidth.bandwidth_6mhz(%rip), %rdx
	jmp	LBB0_7
LBB0_6:
	leaq	_tda10045h_set_bandwidth.bandwidth_8mhz(%rip), %rdx
LBB0_7:
	movq	_TDA10045H_CONFPLL_P@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$36, %ecx
	callq	_tda1004x_write_buf
	movq	_TDA10045H_IOFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_tda1004x_write_byteI
	jmp	LBB0_8
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @tda10045h_set_bandwidth.bandwidth_6mhz
_tda10045h_set_bandwidth.bandwidth_6mhz:
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	61                              ## 0x3d
	.long	0                               ## 0x0
	.long	96                              ## 0x60
	.long	30                              ## 0x1e
	.long	167                             ## 0xa7
	.long	69                              ## 0x45
	.long	79                              ## 0x4f

	.p2align	4                               ## @tda10045h_set_bandwidth.bandwidth_7mhz
_tda10045h_set_bandwidth.bandwidth_7mhz:
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	55                              ## 0x37
	.long	0                               ## 0x0
	.long	74                              ## 0x4a
	.long	47                              ## 0x2f
	.long	109                             ## 0x6d
	.long	118                             ## 0x76
	.long	219                             ## 0xdb

	.p2align	4                               ## @tda10045h_set_bandwidth.bandwidth_8mhz
_tda10045h_set_bandwidth.bandwidth_8mhz:
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	61                              ## 0x3d
	.long	0                               ## 0x0
	.long	72                              ## 0x48
	.long	23                              ## 0x17
	.long	137                             ## 0x89
	.long	199                             ## 0xc7
	.long	20                              ## 0x14

	.comm	_TDA10045H_CONFPLL_P,4,2        ## @TDA10045H_CONFPLL_P
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TDA10045H_IOFFSET,4,2          ## @TDA10045H_IOFFSET
	.no_dead_strip	_tda10045h_set_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda10045h_set_bandwidth
_tda10045h_set_bandwidth:               ; @tda10045h_set_bandwidth
	.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	x19, x0
	sub	w8, w1, #1464, lsl #12          ; =5996544
	cmp	w8, #3456
	b.eq	LBB0_4
; %bb.1:
	mov	w8, #4608
	movk	w8, #122, lsl #16
	cmp	w1, w8
	b.eq	LBB0_5
; %bb.2:
	mov	w8, #53184
	movk	w8, #106, lsl #16
	cmp	w1, w8
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x2, _tda10045h_set_bandwidth.bandwidth_7mhz@PAGE
Lloh1:
	add	x2, x2, _tda10045h_set_bandwidth.bandwidth_7mhz@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x2, _tda10045h_set_bandwidth.bandwidth_6mhz@PAGE
Lloh3:
	add	x2, x2, _tda10045h_set_bandwidth.bandwidth_6mhz@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x2, _tda10045h_set_bandwidth.bandwidth_8mhz@PAGE
Lloh5:
	add	x2, x2, _tda10045h_set_bandwidth.bandwidth_8mhz@PAGEOFF
LBB0_6:
Lloh6:
	adrp	x8, _TDA10045H_CONFPLL_P@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TDA10045H_CONFPLL_P@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w3, #36
	bl	_tda1004x_write_buf
Lloh9:
	adrp	x8, _TDA10045H_IOFFSET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TDA10045H_IOFFSET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_tda1004x_write_byteI
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @tda10045h_set_bandwidth.bandwidth_6mhz
_tda10045h_set_bandwidth.bandwidth_6mhz:
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	61                              ; 0x3d
	.long	0                               ; 0x0
	.long	96                              ; 0x60
	.long	30                              ; 0x1e
	.long	167                             ; 0xa7
	.long	69                              ; 0x45
	.long	79                              ; 0x4f

	.p2align	2                               ; @tda10045h_set_bandwidth.bandwidth_7mhz
_tda10045h_set_bandwidth.bandwidth_7mhz:
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	55                              ; 0x37
	.long	0                               ; 0x0
	.long	74                              ; 0x4a
	.long	47                              ; 0x2f
	.long	109                             ; 0x6d
	.long	118                             ; 0x76
	.long	219                             ; 0xdb

	.p2align	2                               ; @tda10045h_set_bandwidth.bandwidth_8mhz
_tda10045h_set_bandwidth.bandwidth_8mhz:
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	61                              ; 0x3d
	.long	0                               ; 0x0
	.long	72                              ; 0x48
	.long	23                              ; 0x17
	.long	137                             ; 0x89
	.long	199                             ; 0xc7
	.long	20                              ; 0x14

	.comm	_TDA10045H_CONFPLL_P,4,2        ; @TDA10045H_CONFPLL_P
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TDA10045H_IOFFSET,4,2          ; @TDA10045H_IOFFSET
	.no_dead_strip	_tda10045h_set_bandwidth
.subsections_via_symbols
