	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib0090_set_params
_dib0090_set_params:                    ## @dib0090_set_params
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_CT_TUNER_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	_FE_CALLBACK_TIME_NEVER@GOTPCREL(%rip), %r15
	movq	_CT_TUNER_STOP@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_dib0090_tune
                                        ## kill: def $eax killed $eax def $rax
	cmpl	(%r15), %eax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	(%rax,%rax,4), %eax
	addl	%eax, %eax
	addl	$990, %eax                      ## imm = 0x3DE
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	imull	$1000, %eax, %edi               ## imm = 0x3E8
	leal	1000(%rdi), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_usleep_range
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	jne	LBB0_1
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CT_TUNER_START,8,3             ## @CT_TUNER_START
	.comm	_FE_CALLBACK_TIME_NEVER,4,2     ## @FE_CALLBACK_TIME_NEVER
	.comm	_CT_TUNER_STOP,8,3              ## @CT_TUNER_STOP
	.no_dead_strip	_dib0090_set_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib0090_set_params
_dib0090_set_params:                    ; @dib0090_set_params
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _CT_TUNER_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CT_TUNER_START@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _FE_CALLBACK_TIME_NEVER@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FE_CALLBACK_TIME_NEVER@GOTPAGEOFF]
	str	x8, [x20]
	mov	w22, #10
	mov	w23, #34079
	movk	w23, #20971, lsl #16
	mov	w24, #1000
Lloh5:
	adrp	x25, _CT_TUNER_STOP@GOTPAGE
Lloh6:
	ldr	x25, [x25, _CT_TUNER_STOP@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_dib0090_tune
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mul	w8, w0, w22
	add	w8, w8, #990
	smull	x8, w8, w23
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	mul	w0, w8, w24
	add	w1, w0, #1000
	bl	_usleep_range
	ldr	x8, [x20]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_1
LBB0_3:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CT_TUNER_START,8,3             ; @CT_TUNER_START
	.comm	_FE_CALLBACK_TIME_NEVER,4,2     ; @FE_CALLBACK_TIME_NEVER
	.comm	_CT_TUNER_STOP,8,3              ; @CT_TUNER_STOP
	.no_dead_strip	_dib0090_set_params
.subsections_via_symbols
