	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gic_shared_irq_domain_map
_gic_shared_irq_domain_map:             ## @gic_shared_irq_domain_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %edi
	movl	%esi, %ebx
	callq	_GIC_HWIRQ_TO_SHARED
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_irq_get_irq_data
	movq	%rax, %r15
	movq	_gic_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_GIC_MAP_PIN_MAP_TO_PIN@GOTPCREL(%rip), %rax
	movq	_gic_cpu_pin@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%r13d, %edi
	callq	_write_gic_map_pin
	movl	%r12d, %edi
	callq	_mips_cm_vp_id
	movl	%eax, %edi
	callq	_BIT
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_write_gic_map_vp
	movl	%r12d, %edi
	callq	_cpumask_of
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_irq_data_update_effective_affinity
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gic_lock,4,2                   ## @gic_lock
	.comm	_GIC_MAP_PIN_MAP_TO_PIN,4,2     ## @GIC_MAP_PIN_MAP_TO_PIN
	.comm	_gic_cpu_pin,4,2                ## @gic_cpu_pin
	.no_dead_strip	_gic_shared_irq_domain_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gic_shared_irq_domain_map
_gic_shared_irq_domain_map:             ; @gic_shared_irq_domain_map
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x0, x2
	mov	x20, x1
	bl	_GIC_HWIRQ_TO_SHARED
	mov	x21, x0
	mov	x0, x20
	bl	_irq_get_irq_data
	mov	x20, x0
Lloh0:
	adrp	x22, _gic_lock@GOTPAGE
Lloh1:
	ldr	x22, [x22, _gic_lock@GOTPAGEOFF]
	mov	x0, x22
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x8, _GIC_MAP_PIN_MAP_TO_PIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GIC_MAP_PIN_MAP_TO_PIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _gic_cpu_pin@GOTPAGE
Lloh6:
	ldr	x9, [x9, _gic_cpu_pin@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_write_gic_map_pin
	mov	x0, x19
	bl	_mips_cm_vp_id
	bl	_BIT
	mov	x1, x0
	mov	x0, x21
	bl	_write_gic_map_vp
	mov	x0, x19
	bl	_cpumask_of
	mov	x1, x0
	mov	x0, x20
	bl	_irq_data_update_effective_affinity
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_gic_lock,4,2                   ; @gic_lock
	.comm	_GIC_MAP_PIN_MAP_TO_PIN,4,2     ; @GIC_MAP_PIN_MAP_TO_PIN
	.comm	_gic_cpu_pin,4,2                ; @gic_cpu_pin
	.no_dead_strip	_gic_shared_irq_domain_map
.subsections_via_symbols
