	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function via_parse_vheader6
_via_parse_vheader6:                    ## @via_parse_vheader6
	.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
	movq	%rsi, %r14
	movq	(%rsi), %r12
	movl	4(%r12), %r15d
	addq	$16, %r12
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.1:
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	4(%r12), %esi
	addq	$8, %r12
	callq	_VIA_WRITE
	decl	%ebx
	jne	LBB0_2
LBB0_3:
	leal	(%r15,%r15), %eax
	shll	$31, %r15d
	sarl	$31, %r15d
	andl	$2, %eax
	movl	$4, %ecx
	subl	%eax, %ecx
	andl	%r15d, %ecx
	leaq	(%r12,%rcx,4), %rax
	movq	%rax, (%r14)
	movq	_state_command@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_state_command,4,2              ## @state_command
	.no_dead_strip	_via_parse_vheader6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function via_parse_vheader6
_via_parse_vheader6:                    ; @via_parse_vheader6
	.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, x1
	ldr	x8, [x1]
	ldr	w20, [x8, #4]
	add	x8, x8, #16
	cbz	w20, LBB0_4
; %bb.1:
	mov	x21, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	add	x22, x8, #8
	ldp	w0, w1, [x8]
	bl	_VIA_WRITE
	mov	x8, x22
	cbnz	w21, LBB0_2
; %bb.3:
	mov	x8, x22
LBB0_4:
	sbfx	w9, w20, #0, #1
	ubfiz	w10, w20, #1, #1
	mov	w11, #4
	sub	w10, w11, w10
	and	w9, w9, w10
	add	x8, x8, w9, uxtw #2
	str	x8, [x19]
Lloh0:
	adrp	x8, _state_command@GOTPAGE
Lloh1:
	ldr	x8, [x8, _state_command@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_state_command,4,2              ; @state_command
	.no_dead_strip	_via_parse_vheader6
.subsections_via_symbols
