	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv090x_get_lock_tmg
_stv090x_get_lock_tmg:                  ## @stv090x_get_lock_tmg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$130, (%rdi)
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jne	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movl	4(%rbx), %eax
	cmpl	$1500000, %eax                  ## imm = 0x16E360
	jg	LBB0_3
## %bb.2:
	movl	$1500, 8(%rbx)                  ## imm = 0x5DC
	movl	$750, %eax                      ## imm = 0x2EE
	movl	$400, %ecx                      ## imm = 0x190
	jmp	LBB0_18
LBB0_6:
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	movl	4(%rbx), %eax
	cmpl	$1000000, %eax                  ## imm = 0xF4240
	jg	LBB0_8
## %bb.7:
	movl	$4500, 8(%rbx)                  ## imm = 0x1194
	movl	$2250, %eax                     ## imm = 0x8CA
	movl	$1700, %ecx                     ## imm = 0x6A4
	jmp	LBB0_18
LBB0_3:
	cmpl	$5000000, %eax                  ## imm = 0x4C4B40
	ja	LBB0_5
## %bb.4:
	movl	$1000, 8(%rbx)                  ## imm = 0x3E8
	movl	$500, %eax                      ## imm = 0x1F4
	movl	$300, %ecx                      ## imm = 0x12C
	jmp	LBB0_18
LBB0_8:
	cmpl	$2000000, %eax                  ## imm = 0x1E8480
	ja	LBB0_10
## %bb.9:
	movl	$2500, 8(%rbx)                  ## imm = 0x9C4
	movl	$1250, %eax                     ## imm = 0x4E2
	movl	$1100, %ecx                     ## imm = 0x44C
	jmp	LBB0_18
LBB0_5:
	movl	$700, 8(%rbx)                   ## imm = 0x2BC
	movl	$350, %eax                      ## imm = 0x15E
LBB0_17:
	movl	$100, %ecx
	jmp	LBB0_18
LBB0_10:
	cmpl	$5000000, %eax                  ## imm = 0x4C4B40
	ja	LBB0_12
## %bb.11:
	movl	$1000, 8(%rbx)                  ## imm = 0x3E8
	movl	$500, %eax                      ## imm = 0x1F4
	movl	$550, %ecx                      ## imm = 0x226
	jmp	LBB0_18
LBB0_12:
	cmpl	$10000000, %eax                 ## imm = 0x989680
	ja	LBB0_14
## %bb.13:
	movl	$700, 8(%rbx)                   ## imm = 0x2BC
	movl	$350, %eax                      ## imm = 0x15E
	movl	$250, %ecx
	jmp	LBB0_18
LBB0_14:
	cmpl	$20000000, %eax                 ## imm = 0x1312D00
	ja	LBB0_16
## %bb.15:
	movl	$400, 8(%rbx)                   ## imm = 0x190
	movl	$200, %eax
	movl	$130, %ecx
LBB0_18:
	movl	%ecx, 12(%rbx)
	cmpl	$128, (%rbx)
	jne	LBB0_20
## %bb.19:
	movl	%eax, 8(%rbx)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_16:
	movl	$300, 8(%rbx)                   ## imm = 0x12C
	movl	$150, %eax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_DEBUG,4,2                   ## @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Blind Search"

L_.str.1:                               ## @.str.1
	.asciz	"Normal Search"

	.no_dead_strip	_stv090x_get_lock_tmg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv090x_get_lock_tmg
_stv090x_get_lock_tmg:                  ; @stv090x_get_lock_tmg
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FE_DEBUG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FE_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cmp	w8, #130
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	ldr	w8, [x19, #4]
	mov	w9, #58208
	movk	w9, #22, lsl #16
	cmp	w8, w9
	b.gt	LBB0_5
; %bb.2:
	mov	w8, #1500
	str	w8, [x19, #8]
	mov	w8, #750
	mov	w9, #400
	b	LBB0_17
LBB0_3:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	ldr	w8, [x19, #4]
	mov	w9, #16960
	movk	w9, #15, lsl #16
	cmp	w8, w9
	b.gt	LBB0_7
; %bb.4:
	mov	w8, #4500
	str	w8, [x19, #8]
	mov	w8, #2250
	mov	w9, #1700
	b	LBB0_17
LBB0_5:
	mov	w9, #19265
	movk	w9, #76, lsl #16
	cmp	w8, w9
	b.hs	LBB0_9
; %bb.6:
	mov	w8, #1000
	str	w8, [x19, #8]
	mov	w8, #500
	mov	w9, #300
	b	LBB0_17
LBB0_7:
	mov	w9, #33920
	movk	w9, #30, lsl #16
	cmp	w8, w9
	b.hi	LBB0_11
; %bb.8:
	mov	w8, #2500
	str	w8, [x19, #8]
	mov	w8, #1250
	mov	w9, #1100
	b	LBB0_17
LBB0_9:
	mov	w8, #700
	str	w8, [x19, #8]
	mov	w8, #350
LBB0_10:
	mov	w9, #100
	b	LBB0_17
LBB0_11:
	mov	w9, #19265
	movk	w9, #76, lsl #16
	cmp	w8, w9
	b.hs	LBB0_13
; %bb.12:
	mov	w8, #1000
	str	w8, [x19, #8]
	mov	w8, #500
	mov	w9, #550
	b	LBB0_17
LBB0_13:
	mov	w9, #38528
	movk	w9, #152, lsl #16
	cmp	w8, w9
	b.hi	LBB0_15
; %bb.14:
	mov	w8, #700
	str	w8, [x19, #8]
	mov	w8, #350
	mov	w9, #250
	b	LBB0_17
LBB0_15:
	mov	w9, #11520
	movk	w9, #305, lsl #16
	cmp	w8, w9
	b.hi	LBB0_20
; %bb.16:
	mov	w8, #400
	str	w8, [x19, #8]
	mov	w8, #200
	mov	w9, #130
LBB0_17:
	str	w9, [x19, #12]
	ldr	w9, [x19]
	cmp	w9, #128
	b.ne	LBB0_19
; %bb.18:
	str	w8, [x19, #8]
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	w8, #300
	str	w8, [x19, #8]
	mov	w8, #150
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_DEBUG,4,2                   ; @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Blind Search"

l_.str.1:                               ; @.str.1
	.asciz	"Normal Search"

	.no_dead_strip	_stv090x_get_lock_tmg
.subsections_via_symbols
