	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s921_isdb_tune
_s921_isdb_tune:                        ## @s921_isdb_tune
	.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
	movl	(%rsi), %r15d
	cmpl	$767143000, %r15d               ## imm = 0x2DB9AC58
	jl	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_2:
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	movl	$71, %esi
	movl	$96, %edx
	callq	*(%r14)
	movl	8(%r14), %edi
	xorl	%ebx, %ebx
	movl	$104, %esi
	xorl	%edx, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_18
## %bb.5:
	movl	8(%r14), %edi
	movl	$105, %esi
	movl	$137, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.6:
	movl	8(%r14), %edi
	movl	$240, %esi
	movl	$72, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.7:
	movl	8(%r14), %edi
	movl	$241, %esi
	movl	$25, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.8:
	addl	$-473143000, %r15d              ## imm = 0xE3CC6928
	movslq	%r15d, %rax
	imulq	$375299969, %rax, %rax          ## imm = 0x165E9F81
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$51, %rax
	addl	%ecx, %eax
	movl	8(%r14), %edi
	movq	_c_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	leal	(%rax,%rax,2), %eax
	movslq	%eax, %rbx
	movl	(%rcx,%rbx,4), %edx
	movl	$242, %esi
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.9:
	movl	8(%r14), %edi
	movq	(%r15), %rax
	movl	4(%rax,%rbx,4), %edx
	movl	$243, %esi
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.10:
	movl	8(%r14), %edi
	movq	(%r15), %rax
	movl	8(%rax,%rbx,4), %edx
	movl	$244, %esi
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.11:
	movl	8(%r14), %edi
	movl	$245, %esi
	movl	$174, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.12:
	movl	8(%r14), %edi
	movl	$246, %esi
	movl	$183, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.13:
	movl	8(%r14), %edi
	movl	$247, %esi
	movl	$186, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.14:
	movl	8(%r14), %edi
	movl	$248, %esi
	movl	$215, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.15:
	movl	8(%r14), %edi
	movl	$104, %esi
	movl	$10, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.16:
	movl	8(%r14), %edi
	movl	$105, %esi
	movl	$9, %edx
	callq	*(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.17:
	movl	8(%r14), %edi
	movl	$1, %esi
	movl	$64, %edx
	callq	*(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_c_table,8,3                    ## @c_table
	.no_dead_strip	_s921_isdb_tune
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s921_isdb_tune
_s921_isdb_tune:                        ; @s921_isdb_tune
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w20, [x1]
	mov	w8, #44120
	movk	w8, #11705, lsl #16
	cmp	w20, w8
	b.ge	LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w0, [x0, #8]
	mov	w1, #71
	mov	w2, #96
	blr	x8
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #104
	mov	w2, #0
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #105
	mov	w2, #137
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.3:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #240
	mov	w2, #72
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.4:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #241
	mov	w2, #25
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.5:
	mov	w8, #26920
	movk	w8, #58316, lsl #16
	add	w8, w20, w8
	mov	w9, #40833
	movk	w9, #5726, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #51
	add	w8, w8, w9
	ldr	x9, [x19]
Lloh0:
	adrp	x20, _c_table@GOTPAGE
Lloh1:
	ldr	x20, [x20, _c_table@GOTPAGEOFF]
	ldr	w0, [x19, #8]
	ldr	x10, [x20]
	sxtw	x11, w8
	add	x21, x11, w8, sxtw #1
	ldr	w2, [x10, x21, lsl #2]
	mov	w1, #242
	blr	x9
	tbnz	w0, #31, LBB0_15
; %bb.6:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	ldr	x9, [x20]
	add	x9, x9, x21, lsl #2
	ldr	w2, [x9, #4]
	mov	w1, #243
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.7:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	ldr	x9, [x20]
	add	x9, x9, x21, lsl #2
	ldr	w2, [x9, #8]
	mov	w1, #244
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.8:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #245
	mov	w2, #174
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.9:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #246
	mov	w2, #183
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.10:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #247
	mov	w2, #186
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.11:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #248
	mov	w2, #215
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.12:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #104
	mov	w2, #10
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.13:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #105
	mov	w2, #9
	blr	x8
	tbnz	w0, #31, LBB0_15
; %bb.14:
	ldr	x8, [x19]
	ldr	w0, [x19, #8]
	mov	w1, #1
	mov	w2, #64
	blr	x8
	mov	w0, #0
	b	LBB0_16
LBB0_15:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_c_table,8,3                    ; @c_table
	.no_dead_strip	_s921_isdb_tune
.subsections_via_symbols
