	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_vrr_infopacket_data
_build_vrr_infopacket_data:             ## @build_vrr_infopacket_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	$26, 4(%rax)
	movl	$0, 12(%rax)
	movq	(%rdi), %rcx
	movq	_VRR_STATE_UNSUPPORTED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movl	24(%rax), %edx
	movl	%edx, %esi
	orl	$1, %esi
	movl	%esi, 24(%rax)
	movq	_VRR_STATE_DISABLED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	je	LBB0_3
## %bb.2:
	orl	$3, %edx
	movl	%edx, 24(%rax)
LBB0_3:
	movq	_VRR_STATE_ACTIVE_VARIABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.4:
	movq	_VRR_STATE_ACTIVE_FIXED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_5:
	orb	$4, 24(%rax)
LBB0_6:
	movslq	8(%rdi), %rcx
	imulq	$1125899907, %rcx, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$50, %rcx
	addl	%edx, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 28(%rax)
	movslq	12(%rdi), %rcx
	imulq	$1125899907, %rcx, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$50, %rcx
	addl	%edx, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 32(%rax)
	movq	$0, 36(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VRR_STATE_UNSUPPORTED,8,3      ## @VRR_STATE_UNSUPPORTED
	.comm	_VRR_STATE_DISABLED,8,3         ## @VRR_STATE_DISABLED
	.comm	_VRR_STATE_ACTIVE_VARIABLE,8,3  ## @VRR_STATE_ACTIVE_VARIABLE
	.comm	_VRR_STATE_ACTIVE_FIXED,8,3     ## @VRR_STATE_ACTIVE_FIXED
	.no_dead_strip	_build_vrr_infopacket_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function build_vrr_infopacket_data
lCPI0_0:
	.long	26                              ; 0x1a
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_build_vrr_infopacket_data:             ; @build_vrr_infopacket_data
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	stur	d0, [x8, #4]
	str	wzr, [x8, #12]
	ldr	x9, [x0]
Lloh2:
	adrp	x10, _VRR_STATE_UNSUPPORTED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _VRR_STATE_UNSUPPORTED@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.1:
	ldr	w10, [x8, #24]
	orr	w11, w10, #0x1
	str	w11, [x8, #24]
Lloh5:
	adrp	x11, _VRR_STATE_DISABLED@GOTPAGE
Lloh6:
	ldr	x11, [x11, _VRR_STATE_DISABLED@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x9, x11
	b.eq	LBB0_3
; %bb.2:
	orr	w10, w10, #0x3
	str	w10, [x8, #24]
LBB0_3:
Lloh8:
	adrp	x10, _VRR_STATE_ACTIVE_VARIABLE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _VRR_STATE_ACTIVE_VARIABLE@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _VRR_STATE_ACTIVE_FIXED@GOTPAGE
Lloh12:
	ldr	x11, [x11, _VRR_STATE_ACTIVE_FIXED@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	w9, [x8, #24]
	orr	w9, w9, #0x4
	str	w9, [x8, #24]
LBB0_5:
	ldrsw	x9, [x0, #8]
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	mul	x9, x9, x10
	lsr	x11, x9, #63
	lsr	x9, x9, #50
	add	w9, w9, w11
	and	w9, w9, #0xff
	str	w9, [x8, #28]
	ldrsw	x9, [x0, #12]
	mul	x9, x9, x10
	lsr	x10, x9, #63
	lsr	x9, x9, #50
	add	w9, w9, w10
	stp	wzr, wzr, [x8, #36]
	and	w9, w9, #0xff
	str	w9, [x8, #32]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_VRR_STATE_UNSUPPORTED,8,3      ; @VRR_STATE_UNSUPPORTED
	.comm	_VRR_STATE_DISABLED,8,3         ; @VRR_STATE_DISABLED
	.comm	_VRR_STATE_ACTIVE_VARIABLE,8,3  ; @VRR_STATE_ACTIVE_VARIABLE
	.comm	_VRR_STATE_ACTIVE_FIXED,8,3     ; @VRR_STATE_ACTIVE_FIXED
	.no_dead_strip	_build_vrr_infopacket_data
.subsections_via_symbols
