	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_segment_access_rights
_vmx_segment_access_rights:             ## @vmx_segment_access_rights
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$65536, %eax                    ## imm = 0x10000
	cmpq	$0, 32(%rdi)
	je	LBB0_1
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	andl	$15, %eax
	shll	$4, %ecx
	andl	$16, %ecx
	orl	%eax, %ecx
	movl	8(%rdi), %eax
	shll	$5, %eax
	andl	$96, %eax
	orl	%ecx, %eax
	movl	12(%rdi), %ecx
	shll	$7, %ecx
	movzbl	%cl, %ecx
	orl	%eax, %ecx
	movl	16(%rdi), %eax
	andl	$1, %eax
	shll	$12, %eax
	orl	%ecx, %eax
	movl	20(%rdi), %ecx
	andl	$1, %ecx
	shll	$13, %ecx
	orl	%eax, %ecx
	movl	24(%rdi), %edx
	andl	$1, %edx
	shll	$14, %edx
	orl	%ecx, %edx
	movl	28(%rdi), %eax
	shll	$15, %eax
	movzwl	%ax, %eax
	orl	%edx, %eax
	jne	LBB0_3
## %bb.2:
	movq	_AR_UNUSABLE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_UNUSABLE_MASK,4,2           ## @AR_UNUSABLE_MASK
	.no_dead_strip	_vmx_segment_access_rights
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_segment_access_rights
_vmx_segment_access_rights:             ; @vmx_segment_access_rights
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #65536
	ret
LBB0_2:
	ldp	w8, w9, [x0]
	and	w8, w8, #0xf
	bfi	w8, w9, #4, #1
	ldp	w9, w10, [x0, #8]
	bfi	w8, w9, #5, #2
	bfi	w8, w10, #7, #1
	ldp	w9, w10, [x0, #16]
	bfi	w8, w9, #12, #1
	bfi	w8, w10, #13, #1
	ldp	w9, w10, [x0, #24]
	bfi	w8, w9, #14, #1
	ubfiz	w9, w10, #15, #1
	orr	w8, w8, w9
Lloh0:
	adrp	x9, _AR_UNUSABLE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AR_UNUSABLE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, w9, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_UNUSABLE_MASK,4,2           ; @AR_UNUSABLE_MASK
	.no_dead_strip	_vmx_segment_access_rights
.subsections_via_symbols
