	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfi1_caps_get
_hfi1_caps_get:                         ## @hfi1_caps_get
	.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	_HFI1_CAP_LOCKED_SMASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	notq	%rdx
	andq	(%rax), %rdx
	movq	_HFI1_CAP_K2U@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%rdx, %rax
	movq	_HFI1_CAP_USER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	orq	%rdx, %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rcx
	popq	%rbp
	jmp	_scnprintf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HFI1_CAP_LOCKED_SMASK,8,3      ## @HFI1_CAP_LOCKED_SMASK
	.comm	_HFI1_CAP_K2U,8,3               ## @HFI1_CAP_K2U
	.comm	_HFI1_CAP_USER_SHIFT,8,3        ## @HFI1_CAP_USER_SHIFT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%lx"

	.no_dead_strip	_hfi1_caps_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfi1_caps_get
_hfi1_caps_get:                         ; @hfi1_caps_get
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HFI1_CAP_LOCKED_SMASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HFI1_CAP_LOCKED_SMASK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	bic	x8, x8, x9
Lloh3:
	adrp	x9, _HFI1_CAP_K2U@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HFI1_CAP_K2U@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x9, x8, x9
Lloh6:
	adrp	x10, _HFI1_CAP_USER_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HFI1_CAP_USER_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	lsl	x9, x9, x10
	orr	x3, x9, x8
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	b	_scnprintf
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HFI1_CAP_LOCKED_SMASK,8,3      ; @HFI1_CAP_LOCKED_SMASK
	.comm	_HFI1_CAP_K2U,8,3               ; @HFI1_CAP_K2U
	.comm	_HFI1_CAP_USER_SHIFT,8,3        ; @HFI1_CAP_USER_SHIFT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%lx"

	.no_dead_strip	_hfi1_caps_get
.subsections_via_symbols
