	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpx3_function_type
_hpx3_function_type:                    ## @hpx3_function_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_HPX_FN_SRIOV_VIRT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_PCI_EXT_CAP_ID_SRIOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pci_find_ext_capability
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	movq	_HPX_FN_SRIOV_PHYS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_HPX_FN_NORMAL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPX_FN_SRIOV_VIRT,4,2          ## @HPX_FN_SRIOV_VIRT
	.comm	_PCI_EXT_CAP_ID_SRIOV,4,2       ## @PCI_EXT_CAP_ID_SRIOV
	.comm	_HPX_FN_SRIOV_PHYS,4,2          ## @HPX_FN_SRIOV_PHYS
	.comm	_HPX_FN_NORMAL,4,2              ## @HPX_FN_NORMAL
	.no_dead_strip	_hpx3_function_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpx3_function_type
_hpx3_function_type:                    ; @hpx3_function_type
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _HPX_FN_SRIOV_VIRT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HPX_FN_SRIOV_VIRT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _PCI_EXT_CAP_ID_SRIOV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_EXT_CAP_ID_SRIOV@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_pci_find_ext_capability
Lloh5:
	adrp	x8, _HPX_FN_NORMAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HPX_FN_NORMAL@GOTPAGEOFF]
Lloh7:
	adrp	x9, _HPX_FN_SRIOV_PHYS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HPX_FN_SRIOV_PHYS@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, gt
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HPX_FN_SRIOV_VIRT,4,2          ; @HPX_FN_SRIOV_VIRT
	.comm	_PCI_EXT_CAP_ID_SRIOV,4,2       ; @PCI_EXT_CAP_ID_SRIOV
	.comm	_HPX_FN_SRIOV_PHYS,4,2          ; @HPX_FN_SRIOV_PHYS
	.comm	_HPX_FN_NORMAL,4,2              ; @HPX_FN_NORMAL
	.no_dead_strip	_hpx3_function_type
.subsections_via_symbols
