	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gic_irq_domain_map
_gic_irq_domain_map:                    ## @gic_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_supports_deactivate_key@GOTPCREL(%rip), %rdi
	callq	_static_branch_likely
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_gic_chip@GOTPCREL(%rip), %r12
	jmp	LBB0_3
LBB0_1:
	movq	_gic_eoimode1_chip@GOTPCREL(%rip), %r12
LBB0_3:
	movl	%r13d, %edi
	callq	___get_intid_range
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_9
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movl	(%r15), %r8d
	movq	_handle_fasteoi_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_irq_domain_set_info
	movl	%r14d, %edi
	callq	_irq_set_probe
	movl	%r14d, %edi
	callq	_irq_to_desc
	movl	%eax, %edi
	callq	_irq_desc_get_irq_data
	movl	%eax, %edi
	callq	_irqd_set_single_target
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_5:
	movl	%r14d, %edi
	callq	_irq_set_percpu_devid
	movl	(%r15), %r8d
	movq	_handle_percpu_devid_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_irq_domain_set_info
	movq	_IRQ_NOAUTOEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_irq_set_status_flags
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_gic_dist_supports_lpis
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	(%r15), %r8d
	movq	_handle_fasteoi_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_irq_domain_set_info
	jmp	LBB0_10
LBB0_9:
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_gic_chip,4,2                   ## @gic_chip
	.comm	_supports_deactivate_key,4,2    ## @supports_deactivate_key
	.comm	_gic_eoimode1_chip,4,2          ## @gic_eoimode1_chip
	.comm	_handle_percpu_devid_irq,4,2    ## @handle_percpu_devid_irq
	.comm	_IRQ_NOAUTOEN,4,2               ## @IRQ_NOAUTOEN
	.comm	_handle_fasteoi_irq,4,2         ## @handle_fasteoi_irq
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_gic_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_irq_domain_map
_gic_irq_domain_map:                    ; @gic_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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x0, _supports_deactivate_key@GOTPAGE
Lloh1:
	ldr	x0, [x0, _supports_deactivate_key@GOTPAGEOFF]
	bl	_static_branch_likely
Lloh2:
	adrp	x8, _gic_eoimode1_chip@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gic_eoimode1_chip@GOTPAGEOFF]
Lloh4:
	adrp	x9, _gic_chip@GOTPAGE
Lloh5:
	ldr	x9, [x9, _gic_chip@GOTPAGEOFF]
	cmp	x0, #0
	csel	x22, x9, x8, eq
	mov	x0, x20
	bl	___get_intid_range
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.1:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w4, [x21]
Lloh8:
	adrp	x8, _handle_fasteoi_irq@GOTPAGE
Lloh9:
	ldr	x8, [x8, _handle_fasteoi_irq@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	mov	x6, #0
	mov	x7, #0
	bl	_irq_domain_set_info
	mov	x0, x19
	bl	_irq_set_probe
	mov	x0, x19
	bl	_irq_to_desc
	bl	_irq_desc_get_irq_data
	bl	_irqd_set_single_target
	mov	w0, #0
	b	LBB0_7
LBB0_3:
	mov	x0, x19
	bl	_irq_set_percpu_devid
	ldr	w4, [x21]
Lloh11:
	adrp	x8, _handle_percpu_devid_irq@GOTPAGE
Lloh12:
	ldr	x8, [x8, _handle_percpu_devid_irq@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	mov	x6, #0
	mov	x7, #0
	bl	_irq_domain_set_info
Lloh14:
	adrp	x8, _IRQ_NOAUTOEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_NOAUTOEN@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_irq_set_status_flags
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	bl	_gic_dist_supports_lpis
	cbz	w0, LBB0_6
; %bb.5:
	ldr	w4, [x21]
Lloh17:
	adrp	x8, _handle_fasteoi_irq@GOTPAGE
Lloh18:
	ldr	x8, [x8, _handle_fasteoi_irq@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	mov	x6, #0
	mov	x7, #0
	bl	_irq_domain_set_info
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x8, _EPERM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_gic_chip,4,2                   ; @gic_chip
	.comm	_supports_deactivate_key,4,2    ; @supports_deactivate_key
	.comm	_gic_eoimode1_chip,4,2          ; @gic_eoimode1_chip
	.comm	_handle_percpu_devid_irq,4,2    ; @handle_percpu_devid_irq
	.comm	_IRQ_NOAUTOEN,4,2               ; @IRQ_NOAUTOEN
	.comm	_handle_fasteoi_irq,4,2         ; @handle_fasteoi_irq
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_gic_irq_domain_map
.subsections_via_symbols
