	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_v5_cache
_print_v5_cache:                        ## @print_v5_cache
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cpuinfo@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_CPU_CT_S@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%ebx, %edi
	callq	_CPU_CT_CTYPE
	movl	%eax, %r13d
	testl	%ebx, %r15d
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movl	(%r14), %edi
	callq	_CPU_CT_ISIZE
	movl	%eax, %r15d
	movq	_CPU_CT_xSIZE_M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	cmpl	$1, %eax
	movl	$3, %ebx
	sbbl	$0, %ebx
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_LEN
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	movl	$1, %r12d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_ASSOC
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_ASSOC
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	movl	%ebx, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
LBB0_1:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	_CPU_CT_xSIZE_M@GOTPCREL(%rip), %rdx
	testl	%r15d, (%rdx)
	sete	%cl
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	cmovnel	%eax, %r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
LBB0_5:
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	leal	1023(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	sarl	$10, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_6:
	movl	(%r14), %edi
	callq	_CPU_CT_DSIZE
	movl	%eax, %r15d
	movq	_CPU_CT_xSIZE_M@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	andl	%r15d, %eax
	cmpl	$1, %eax
	movl	$3, %r13d
	sbbl	$0, %r13d
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_LEN
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	movl	$1, %r14d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r14d
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_ASSOC
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_ASSOC
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	movl	%r13d, %r12d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	testl	%r15d, (%rbx)
	sete	%r12b
	cmovnel	%eax, %r14d
LBB0_9:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%r15d, %edi
	callq	_CPU_CT_xSIZE_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	movl	%ebx, %eax
	orl	%r14d, %eax
	jne	LBB0_10
## %bb.14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -60(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_11
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str(%rip), %rdi
LBB0_13:
	leal	1023(%r13), %esi
	testl	%r13d, %r13d
	cmovnsl	%r13d, %esi
	sarl	$10, %esi
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rax, %r8
	movl	%r14d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cpuinfo,4,2                    ## @cpuinfo
	.comm	_CPU_CT_S,4,2                   ## @CPU_CT_S
	.comm	_CPU_CT_xSIZE_M,4,2             ## @CPU_CT_xSIZE_M
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  %dKB/%dB %d-way %s unified cache\n"

L_.str.1:                               ## @.str.1
	.asciz	"WT"

L_.str.2:                               ## @.str.2
	.asciz	"WB"

L_.str.3:                               ## @.str.3
	.asciz	"  %dKB/%dB %d-way instruction cache\n"

L_.str.4:                               ## @.str.4
	.asciz	"  %dKB/%dB %d-way %s data cache\n"

	.no_dead_strip	_print_v5_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_v5_cache
_print_v5_cache:                        ; @print_v5_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x23, _cpuinfo@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cpuinfo@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _CPU_CT_S@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPU_CT_S@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w26, w8, w0
	bl	_CPU_CT_CTYPE
	mov	x19, x0
Lloh5:
	adrp	x24, _CPU_CT_xSIZE_M@GOTPAGE
Lloh6:
	ldr	x24, [x24, _CPU_CT_xSIZE_M@GOTPAGEOFF]
	cbz	w26, LBB0_3
; %bb.1:
	ldr	w0, [x23]
	bl	_CPU_CT_ISIZE
	mov	x22, x0
	ldr	w8, [x24]
	tst	w8, w0
	mov	w8, #2
	cinc	w25, w8, ne
	bl	_CPU_CT_xSIZE_LEN
	add	w8, w0, #3
	mov	w9, #1
	lsl	w20, w9, w8
	mov	x0, x22
	bl	_CPU_CT_xSIZE_ASSOC
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_CPU_CT_xSIZE_ASSOC
	sub	w8, w0, #1
	lsl	w21, w25, w8
	b	LBB0_5
LBB0_3:
	mov	w22, #0
	mov	w20, #0
	mov	w21, #0
	b	LBB0_6
LBB0_4:
	ldr	w8, [x24]
	tst	w8, w22
	cset	w21, eq
	csel	w20, w20, wzr, eq
LBB0_5:
	mov	x0, x22
	bl	_CPU_CT_xSIZE_SIZE
	add	w8, w0, #8
	lsl	w8, w25, w8
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w22, w8, #10
LBB0_6:
	ldr	w0, [x23]
	bl	_CPU_CT_DSIZE
	mov	x25, x0
	ldr	w8, [x24]
	tst	w8, w0
	mov	w8, #2
	cinc	w27, w8, ne
	bl	_CPU_CT_xSIZE_LEN
	add	w8, w0, #3
	mov	w9, #1
	lsl	w23, w9, w8
	mov	x0, x25
	bl	_CPU_CT_xSIZE_ASSOC
	cbz	w0, LBB0_8
; %bb.7:
	mov	x0, x25
	bl	_CPU_CT_xSIZE_ASSOC
	sub	w8, w0, #1
	lsl	w24, w27, w8
	b	LBB0_9
LBB0_8:
	ldr	w8, [x24]
	tst	w8, w25
	cset	w24, eq
	csel	w23, w23, wzr, eq
LBB0_9:
	mov	x0, x25
	bl	_CPU_CT_xSIZE_SIZE
	orr	w8, w20, w23
	cbz	w8, LBB0_14
; %bb.10:
	add	w8, w0, #8
	lsl	w25, w27, w8
	cbz	w26, LBB0_12
; %bb.11:
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_printf
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
LBB0_13:
	add	w8, w25, #1023
	cmp	w25, #0
	csel	w8, w8, w25, lt
	asr	w1, w8, #10
Lloh13:
	adrp	x8, l_.str.2@PAGE
Lloh14:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh15:
	adrp	x9, l_.str.1@PAGE
Lloh16:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w19, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
	mov	x2, x23
	mov	x3, x24
	bl	_printf
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cpuinfo,4,2                    ; @cpuinfo
	.comm	_CPU_CT_S,4,2                   ; @CPU_CT_S
	.comm	_CPU_CT_xSIZE_M,4,2             ; @CPU_CT_xSIZE_M
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  %dKB/%dB %d-way %s unified cache\n"

l_.str.1:                               ; @.str.1
	.asciz	"WT"

l_.str.2:                               ; @.str.2
	.asciz	"WB"

l_.str.3:                               ; @.str.3
	.asciz	"  %dKB/%dB %d-way instruction cache\n"

l_.str.4:                               ; @.str.4
	.asciz	"  %dKB/%dB %d-way %s data cache\n"

	.no_dead_strip	_print_v5_cache
.subsections_via_symbols
