	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5h1420_get_tune_settings
_s5h1420_get_tune_settings:             ## @s5h1420_get_tune_settings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$20000001, %eax                 ## imm = 0x1312D01
	jl	LBB0_3
## %bb.1:
	movabsq	$8589934592050, %rax            ## imm = 0x7D000000032
	jmp	LBB0_2
LBB0_3:
	cmpl	$12000001, %eax                 ## imm = 0xB71B01
	jl	LBB0_5
## %bb.4:
	movabsq	$6442450944100, %rax            ## imm = 0x5DC00000064
	movq	%rax, (%rsi)
	movl	$9000, %eax                     ## imm = 0x2328
	jmp	LBB0_12
LBB0_5:
	cmpl	$8000001, %eax                  ## imm = 0x7A1201
	jl	LBB0_7
## %bb.6:
	movabsq	$4294967296100, %rax            ## imm = 0x3E800000064
LBB0_2:
	movq	%rax, (%rsi)
	movl	$8000, %eax                     ## imm = 0x1F40
LBB0_12:
	movl	%eax, 8(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	cmpl	$4000001, %eax                  ## imm = 0x3D0901
	jl	LBB0_9
## %bb.8:
	movabsq	$2147483648100, %rax            ## imm = 0x1F400000064
	movq	%rax, (%rsi)
	movl	$7000, %eax                     ## imm = 0x1B58
	jmp	LBB0_12
LBB0_9:
	movl	$200, (%rsi)
	cmpl	$2000001, %eax                  ## imm = 0x1E8481
	jl	LBB0_11
## %bb.10:
	movl	%eax, %eax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	shrq	$41, %rcx
	movl	%ecx, 4(%rsi)
	movl	%ecx, %eax
	shll	$4, %eax
	subl	%ecx, %eax
	subl	%ecx, %eax
	jmp	LBB0_12
LBB0_11:
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$41, %rax
	addl	%ecx, %eax
	movl	%eax, 4(%rsi)
	addl	%eax, %eax
	leal	(%rax,%rax,8), %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_s5h1420_get_tune_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function s5h1420_get_tune_settings
lCPI0_0:
	.long	100                             ; 0x64
	.long	500                             ; 0x1f4
lCPI0_1:
	.long	100                             ; 0x64
	.long	1000                            ; 0x3e8
lCPI0_2:
	.long	100                             ; 0x64
	.long	1500                            ; 0x5dc
lCPI0_3:
	.long	50                              ; 0x32
	.long	2000                            ; 0x7d0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_s5h1420_get_tune_settings:             ; @s5h1420_get_tune_settings
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mov	w9, #11521
	movk	w9, #305, lsl #16
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, lCPI0_3@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_3@PAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	w9, #6913
	movk	w9, #183, lsl #16
	cmp	w8, w9
	b.lt	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, lCPI0_2@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	str	d0, [x1]
	mov	w8, #9000
	b	LBB0_7
LBB0_4:
	mov	w9, #4609
	movk	w9, #122, lsl #16
	cmp	w8, w9
	b.lt	LBB0_8
; %bb.5:
Lloh4:
	adrp	x8, lCPI0_1@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
LBB0_6:
	str	d0, [x1]
	mov	w8, #8000
LBB0_7:
	str	w8, [x1, #8]
	mov	w0, #0
	ret
LBB0_8:
	mov	w9, #2305
	movk	w9, #61, lsl #16
	cmp	w8, w9
	b.lt	LBB0_10
; %bb.9:
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x1]
	mov	w8, #7000
	b	LBB0_7
LBB0_10:
	mov	w9, #200
	str	w9, [x1]
	mov	w9, #33921
	movk	w9, #30, lsl #16
	cmp	w8, w9
	b.lt	LBB0_12
; %bb.11:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #41
	str	w8, [x1, #4]
	mov	w9, #14
	mul	w8, w8, w9
	b	LBB0_7
LBB0_12:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #41
	add	w8, w8, w9
	str	w8, [x1, #4]
	add	w8, w8, w8, lsl #3
	lsl	w8, w8, #1
	b	LBB0_7
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_s5h1420_get_tune_settings
.subsections_via_symbols
