	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_hdw_state_log_state
_pvr2_hdw_state_log_state:              ## @pvr2_hdw_state_log_state
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-304(%rbp), %rdx
	movl	$256, %r13d                     ## imm = 0x100
	xorl	%esi, %esi
	movl	$256, %ecx                      ## imm = 0x100
	callq	_pvr2_hdw_report_unlocked
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	$1, %ebx
	leaq	L_.str(%rip), %r14
	leaq	-304(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_pr_info
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_pvr2_hdw_report_unlocked
	incl	%ebx
	testl	%eax, %eax
	jne	LBB0_2
LBB0_3:
	leaq	-304(%rbp), %rsi
	movq	%r15, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_pvr2_hdw_report_clients
	cmpl	$256, %eax                      ## imm = 0x100
	cmovbl	%eax, %r13d
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.4:
	movl	%r13d, %r12d
	negq	%r12
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %esi
	leaq	(%r14,%rbp), %rcx
	addq	$-304, %rcx                     ## imm = 0xFED0
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_pr_info
	leal	(%rbx,%r14), %eax
	incl	%eax
	cmpl	%r13d, %eax
	jae	LBB0_11
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	%eax, %r14d
	movl	$0, %ebx
	cmpl	%eax, %r13d
	jbe	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %ebx
	subl	%r14d, %ebx
	leaq	(%r12,%r14), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r14,%rax), %edx
	cmpb	$10, -304(%rbp,%rdx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	incq	%rax
	movq	%rcx, %rdx
	addq	%rax, %rdx
	jne	LBB0_7
	jmp	LBB0_10
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %.*s\n"

	.no_dead_strip	_pvr2_hdw_state_log_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_hdw_state_log_state
_pvr2_hdw_state_log_state:              ; @pvr2_hdw_state_log_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w23, #256
	add	x2, sp, #8
	mov	w1, #0
	mov	w3, #256
	bl	_pvr2_hdw_report_unlocked
	cbz	w0, LBB0_3
; %bb.1:
	mov	x2, x0
	mov	w20, #1
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	add	x3, sp, #8
	mov	x0, x21
	bl	_pr_info
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w3, #256
	bl	_pvr2_hdw_report_unlocked
	mov	x2, x0
	add	w20, w20, #1
	cbnz	w0, LBB0_2
LBB0_3:
	add	x22, sp, #8
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #256
	bl	_pvr2_hdw_report_clients
	cmp	w0, #256
	csel	w23, w0, w23, lo
	cbz	w23, LBB0_12
; %bb.4:
	mov	x9, #0
	mov	w8, #0
	sub	x24, x9, w23, uxtw
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w21, #0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x19]
	add	x3, x22, x25
	mov	x0, x20
	mov	x2, x21
	bl	_pr_info
	add	w8, w21, w25
	add	w8, w8, #1
	cmp	w8, w23
	b.hs	LBB0_12
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	w25, w8
	cmp	w23, w8
	b.ls	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, #0
	sub	w21, w23, w25
	add	x9, x24, x25
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w10, w25, w8
	ldrb	w10, [x22, w10, uxtw]
	cmp	w10, #10
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x8, #1
	cmn	x9, x8
	b.ne	LBB0_9
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x8
	b	LBB0_6
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %.*s\n"

	.no_dead_strip	_pvr2_hdw_state_log_state
.subsections_via_symbols
