	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p4tcc_identify
_p4tcc_identify:                        ## @p4tcc_identify
	.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	_cpu_feature@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CPUID_ACPI@GOTPCREL(%rip), %rcx
	movq	_CPUID_TM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_3
## %bb.1:
	movl	%esi, %ebx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	$-1, %edx
	callq	_device_find_child
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	movl	$10, %esi
	movl	$-1, %ecx
	callq	_BUS_ADD_CHILD
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_device_printf                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_feature,4,2                ## @cpu_feature
	.comm	_CPUID_ACPI,4,2                 ## @CPUID_ACPI
	.comm	_CPUID_TM,4,2                   ## @CPUID_TM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"p4tcc"

L_.str.1:                               ## @.str.1
	.asciz	"add p4tcc child failed\n"

	.no_dead_strip	_p4tcc_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p4tcc_identify
_p4tcc_identify:                        ; @p4tcc_identify
	.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
Lloh0:
	adrp	x8, _cpu_feature@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_feature@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CPUID_ACPI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPUID_ACPI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _CPUID_TM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CPUID_TM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_device_find_child
	cbnz	x0, LBB0_3
; %bb.2:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #10
	mov	w3, #-1
	bl	_BUS_ADD_CHILD
	cbz	x0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_device_printf
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_feature,4,2                ; @cpu_feature
	.comm	_CPUID_ACPI,4,2                 ; @CPUID_ACPI
	.comm	_CPUID_TM,4,2                   ; @CPUID_TM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"p4tcc"

l_.str.1:                               ; @.str.1
	.asciz	"add p4tcc child failed\n"

	.no_dead_strip	_p4tcc_identify
.subsections_via_symbols
