	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx6_anatop_new_pass
_imx6_anatop_new_pass:                  ## @imx6_anatop_new_pass
	.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
	movl	%edi, %r14d
	movq	_BUS_PASS_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_BUS_PASS_ORDER_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_device_get_softc
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	%rax, %r12
	addl	%r15d, %ebx
	movq	_bus_current_pass@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jl	LBB0_4
## %bb.2:
	movl	$1, (%r12)
	movq	%r12, %rdi
	callq	_cpufreq_initialize
	movq	%r12, %rdi
	callq	_initialize_tempmon
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movl	12(%r12), %edi
	movl	4(%r12), %ecx
	movl	8(%r12), %edx
	leaq	L_.str(%rip), %rsi
	callq	_device_printf
LBB0_4:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bus_generic_new_pass           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BUS_PASS_CPU,4,2               ## @BUS_PASS_CPU
	.comm	_BUS_PASS_ORDER_MIDDLE,4,2      ## @BUS_PASS_ORDER_MIDDLE
	.comm	_bus_current_pass,4,2           ## @bus_current_pass
	.comm	_bootverbose,8,3                ## @bootverbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CPU %uMHz @ %umV\n"

	.no_dead_strip	_imx6_anatop_new_pass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx6_anatop_new_pass
_imx6_anatop_new_pass:                  ; @imx6_anatop_new_pass
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _BUS_PASS_CPU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUS_PASS_CPU@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _BUS_PASS_ORDER_MIDDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUS_PASS_ORDER_MIDDLE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	bl	_device_get_softc
	ldr	w8, [x0]
	cbnz	w8, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _bus_current_pass@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bus_current_pass@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w9, w22, w21
	cmp	w8, w9
	b.lt	LBB0_4
; %bb.2:
	mov	x20, x0
	mov	w8, #1
	str	w8, [x0]
	bl	_cpufreq_initialize
	mov	x0, x20
	bl	_initialize_tempmon
Lloh9:
	adrp	x8, _bootverbose@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	w2, w0, [x20, #8]
	ldr	w3, [x20, #4]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
LBB0_4:
	mov	x0, x19
	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
	b	_bus_generic_new_pass
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BUS_PASS_CPU,4,2               ; @BUS_PASS_CPU
	.comm	_BUS_PASS_ORDER_MIDDLE,4,2      ; @BUS_PASS_ORDER_MIDDLE
	.comm	_bus_current_pass,4,2           ; @bus_current_pass
	.comm	_bootverbose,8,3                ; @bootverbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CPU %uMHz @ %umV\n"

	.no_dead_strip	_imx6_anatop_new_pass
.subsections_via_symbols
