	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vie_calc_bytereg
_vie_calc_bytereg:                      ## @vie_calc_bytereg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rdx)
	movq	_gpr_map@GOTPCREL(%rip), %r8
	movq	(%r8), %rcx
	movq	(%rdi), %rax
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%rsi)
	cmpl	$0, 8(%rdi)
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	movq	(%rdi), %rcx
	testb	$4, %cl
	je	LBB0_3
## %bb.2:
	movl	$1, (%rdx)
	movq	(%r8), %rax
	andl	$3, %ecx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gpr_map,8,3                    ## @gpr_map
	.no_dead_strip	_vie_calc_bytereg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vie_calc_bytereg
_vie_calc_bytereg:                      ; @vie_calc_bytereg
	.cfi_startproc
; %bb.0:
	str	wzr, [x2]
Lloh0:
	adrp	x8, _gpr_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gpr_map@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x0]
	ldr	w9, [x9, x10, lsl #2]
	str	w9, [x1]
	ldr	w9, [x0, #8]
	cbz	w9, LBB0_2
LBB0_1:
	ret
LBB0_2:
	ldr	x9, [x0]
	tbz	w9, #2, LBB0_1
; %bb.3:
	mov	w10, #1
	str	w10, [x2]
	ldr	x8, [x8]
	and	x9, x9, #0x3
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_gpr_map,8,3                    ; @gpr_map
	.no_dead_strip	_vie_calc_bytereg
.subsections_via_symbols
