	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hardware_largepage_caps
_hardware_largepage_caps:               ## @hardware_largepage_caps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.1:
	movq	%rcx, %r8
	orq	%rsi, %rdx
	movq	_VTD_STRIDE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	notq	%r10
	movq	_VTD_STRIDE_SHIFT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leal	1(%rdi), %r9d
	negl	%edi
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r10, %rdx
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	shrq	%cl, %r8
	testq	%r8, %r8
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	shrq	%cl, %rdx
	leal	(%rdi,%rax), %esi
	incl	%esi
                                        ## kill: def $eax killed $eax killed $rax
	incl	%eax
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$1, %esi
	jne	LBB0_2
## %bb.5:
	movl	%r9d, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	movl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VTD_STRIDE_MASK,8,3            ## @VTD_STRIDE_MASK
	.comm	_VTD_STRIDE_SHIFT,8,3           ## @VTD_STRIDE_SHIFT
	.no_dead_strip	_hardware_largepage_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hardware_largepage_caps
_hardware_largepage_caps:               ; @hardware_largepage_caps
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	mov	w9, #0
	orr	x10, x2, x1
Lloh0:
	adrp	x11, _VTD_STRIDE_MASK@GOTPAGE
Lloh1:
	ldr	x11, [x11, _VTD_STRIDE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	mvn	x11, x11
Lloh3:
	adrp	x12, _VTD_STRIDE_SHIFT@GOTPAGE
Lloh4:
	ldr	x12, [x12, _VTD_STRIDE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x12]
	add	w12, w8, #1
	mov	w0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	tst	x10, x11
	b.ne	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	x3, x3, x13
	cbz	x3, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	x10, x10, x13
	add	w0, w0, #1
	add	w9, w9, #1
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.5:
	mov	x0, x12
	ret
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	add	w0, w9, #1
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VTD_STRIDE_MASK,8,3            ; @VTD_STRIDE_MASK
	.comm	_VTD_STRIDE_SHIFT,8,3           ; @VTD_STRIDE_SHIFT
	.no_dead_strip	_hardware_largepage_caps
.subsections_via_symbols
