	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gic_map_msi
_gic_map_msi:                           ## @gic_map_msi
	.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
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movq	_INTR_POLARITY_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	_INTR_TRIGGER_EDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_INTR_POLARITY_HIGH,4,2         ## @INTR_POLARITY_HIGH
	.comm	_INTR_TRIGGER_EDGE,4,2          ## @INTR_TRIGGER_EDGE
	.no_dead_strip	_gic_map_msi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gic_map_msi
_gic_map_msi:                           ; @gic_map_msi
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x2]
Lloh0:
	adrp	x8, _INTR_POLARITY_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTR_POLARITY_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x3]
Lloh3:
	adrp	x8, _INTR_TRIGGER_EDGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTR_TRIGGER_EDGE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x4]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _ENXIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_INTR_POLARITY_HIGH,4,2         ; @INTR_POLARITY_HIGH
	.comm	_INTR_TRIGGER_EDGE,4,2          ; @INTR_TRIGGER_EDGE
	.no_dead_strip	_gic_map_msi
.subsections_via_symbols
