	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_device_set_intr_type   ## -- Begin function vxge_hw_device_set_intr_type
	.p2align	4, 0x90
_vxge_hw_device_set_intr_type:          ## @vxge_hw_device_set_intr_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VXGE_HW_INTR_MODE_IRQLINE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_VXGE_HW_INTR_MODE_MSIX@GOTPCREL(%rip), %r8
	movq	_VXGE_HW_INTR_MODE_MSIX_ONE_SHOT@GOTPCREL(%rip), %rdx
	movq	_VXGE_HW_INTR_MODE_DEF@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	movq	%rcx, %rax
	cmoveq	%rsi, %rax
	cmpq	%rsi, (%rdx)
	cmoveq	%rsi, %rax
	cmpq	%rsi, (%r8)
	cmoveq	%rsi, %rax
	cmpq	%rsi, %rcx
	cmoveq	%rsi, %rax
	movq	%rax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_INTR_MODE_IRQLINE,8,3  ## @VXGE_HW_INTR_MODE_IRQLINE
	.comm	_VXGE_HW_INTR_MODE_MSIX,8,3     ## @VXGE_HW_INTR_MODE_MSIX
	.comm	_VXGE_HW_INTR_MODE_MSIX_ONE_SHOT,8,3 ## @VXGE_HW_INTR_MODE_MSIX_ONE_SHOT
	.comm	_VXGE_HW_INTR_MODE_DEF,8,3      ## @VXGE_HW_INTR_MODE_DEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_device_set_intr_type   ; -- Begin function vxge_hw_device_set_intr_type
	.p2align	2
_vxge_hw_device_set_intr_type:          ; @vxge_hw_device_set_intr_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VXGE_HW_INTR_MODE_IRQLINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VXGE_HW_INTR_MODE_IRQLINE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _VXGE_HW_INTR_MODE_MSIX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VXGE_HW_INTR_MODE_MSIX@GOTPAGEOFF]
Lloh5:
	adrp	x10, _VXGE_HW_INTR_MODE_MSIX_ONE_SHOT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _VXGE_HW_INTR_MODE_MSIX_ONE_SHOT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _VXGE_HW_INTR_MODE_DEF@GOTPAGE
Lloh10:
	ldr	x11, [x11, _VXGE_HW_INTR_MODE_DEF@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	cmp	x11, x1
	ccmp	x10, x1, #4, ne
	ccmp	x9, x1, #4, ne
	ccmp	x8, x1, #4, ne
	csel	x8, x1, x8, eq
	str	x8, [x0]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_INTR_MODE_IRQLINE,8,3  ; @VXGE_HW_INTR_MODE_IRQLINE
	.comm	_VXGE_HW_INTR_MODE_MSIX,8,3     ; @VXGE_HW_INTR_MODE_MSIX
	.comm	_VXGE_HW_INTR_MODE_MSIX_ONE_SHOT,8,3 ; @VXGE_HW_INTR_MODE_MSIX_ONE_SHOT
	.comm	_VXGE_HW_INTR_MODE_DEF,8,3      ; @VXGE_HW_INTR_MODE_DEF
.subsections_via_symbols
