	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt2032_check_lo_lock
_mt2032_check_lo_lock:                  ## @mt2032_check_lo_lock
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r13
	movl	$10, %r12d
	leaq	-42(%rbp), %r14
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movb	$14, -42(%rbp)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_tuner_i2c_xfer_send
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_tuner_i2c_xfer_recv
	movzbl	-42(%rbp), %esi
	movq	%r15, %rdi
	callq	_tuner_dbg
	movzbl	-42(%rbp), %eax
	movl	%eax, %ebx
	andl	$6, %ebx
	cmpb	$6, %bl
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%al, %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_tuner_dbg
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	decl	%r12d
	jne	LBB0_1
	jmp	LBB0_4
LBB0_2:
	movl	$6, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mt2032 Reg.E=0x%02x\n"

L_.str.1:                               ## @.str.1
	.asciz	"mt2032: pll wait 1ms for lock (0x%2x)\n"

	.no_dead_strip	_mt2032_check_lo_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt2032_check_lo_lock
_mt2032_check_lo_lock:                  ; @mt2032_check_lo_lock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x19, [x0]
	mov	w23, #10
	mov	w24, #14
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	strb	w24, [sp, #14]
	add	x1, sp, #14
	mov	x0, x19
	mov	w2, #1
	bl	_tuner_i2c_xfer_send
	add	x1, sp, #14
	mov	x0, x19
	mov	w2, #1
	bl	_tuner_i2c_xfer_recv
	ldrb	w1, [sp, #14]
	mov	x0, x20
	bl	_tuner_dbg
	ldrb	w1, [sp, #14]
	and	w22, w1, #0x6
	cmp	w22, #6
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_tuner_dbg
	mov	w0, #1000
	bl	_udelay
	subs	w23, w23, #1
	b.ne	LBB0_1
LBB0_3:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mt2032 Reg.E=0x%02x\n"

l_.str.1:                               ; @.str.1
	.asciz	"mt2032: pll wait 1ms for lock (0x%2x)\n"

	.no_dead_strip	_mt2032_check_lo_lock
.subsections_via_symbols
