	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function via_parse_header1
_via_parse_header1:                     ## @via_parse_header1
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rsi), %rbx
	cmpq	%rdx, %rbx
	jae	LBB0_4
## %bb.1:
	movq	%rdx, %r15
	movq	_HALCYON_HEADER1MASK@GOTPCREL(%rip), %r12
	movq	_HALCYON_HEADER1@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r12), %eax
	movl	%eax, %ecx
	andl	%edi, %ecx
	cmpl	(%r13), %ecx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	notl	%eax
	andl	%eax, %edi
	shll	$2, %edi
	movl	4(%rbx), %esi
	callq	_VIA_WRITE
	addq	$8, %rbx
	cmpq	%r15, %rbx
	jb	LBB0_2
LBB0_4:
	movq	%rbx, (%r14)
	movq	_state_command@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HALCYON_HEADER1MASK,4,2        ## @HALCYON_HEADER1MASK
	.comm	_HALCYON_HEADER1,4,2            ## @HALCYON_HEADER1
	.comm	_state_command,4,2              ## @state_command
	.no_dead_strip	_via_parse_header1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function via_parse_header1
_via_parse_header1:                     ; @via_parse_header1
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x21, [x1]
	cmp	x21, x2
	b.hs	LBB0_4
; %bb.1:
	mov	x20, x2
Lloh0:
	adrp	x22, _HALCYON_HEADER1MASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HALCYON_HEADER1MASK@GOTPAGEOFF]
Lloh2:
	adrp	x23, _HALCYON_HEADER1@GOTPAGE
Lloh3:
	ldr	x23, [x23, _HALCYON_HEADER1@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	ldr	w9, [x22]
	and	w10, w9, w8
	ldr	w11, [x23]
	cmp	w10, w11
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bic	w8, w8, w9
	lsl	w0, w8, #2
	ldr	w1, [x21, #4]
	bl	_VIA_WRITE
	add	x21, x21, #8
	cmp	x21, x20
	b.lo	LBB0_2
LBB0_4:
	str	x21, [x19]
Lloh4:
	adrp	x8, _state_command@GOTPAGE
Lloh5:
	ldr	x8, [x8, _state_command@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HALCYON_HEADER1MASK,4,2        ; @HALCYON_HEADER1MASK
	.comm	_HALCYON_HEADER1,4,2            ; @HALCYON_HEADER1
	.comm	_state_command,4,2              ; @state_command
	.no_dead_strip	_via_parse_header1
.subsections_via_symbols
