	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gicv2m_get_msi_addr
_gicv2m_get_msi_addr:                   ## @gicv2m_get_msi_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	_GICV2M_GRAVITON_ADDRESS_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%rdi), %eax
	testl	%ecx, (%rdi)
	je	LBB0_2
## %bb.1:
	leal	-256(,%rsi,8), %ecx
	orl	%ecx, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_V2M_MSI_SETSPI_NS@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GICV2M_GRAVITON_ADDRESS_ONLY,4,2 ## @GICV2M_GRAVITON_ADDRESS_ONLY
	.comm	_V2M_MSI_SETSPI_NS,4,2          ## @V2M_MSI_SETSPI_NS
	.no_dead_strip	_gicv2m_get_msi_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gicv2m_get_msi_addr
_gicv2m_get_msi_addr:                   ; @gicv2m_get_msi_addr
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _GICV2M_GRAVITON_ADDRESS_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GICV2M_GRAVITON_ADDRESS_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldp	w10, w8, [x0]
	tst	w9, w10
	b.eq	LBB0_2
; %bb.1:
	lsl	w9, w1, #3
	sub	w9, w9, #256
	orr	w0, w8, w9
	ret
LBB0_2:
Lloh3:
	adrp	x9, _V2M_MSI_SETSPI_NS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V2M_MSI_SETSPI_NS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GICV2M_GRAVITON_ADDRESS_ONLY,4,2 ; @GICV2M_GRAVITON_ADDRESS_ONLY
	.comm	_V2M_MSI_SETSPI_NS,4,2          ; @V2M_MSI_SETSPI_NS
	.no_dead_strip	_gicv2m_get_msi_addr
.subsections_via_symbols
