	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csky_irqdomain_map
_csky_irqdomain_map:                    ## @csky_irqdomain_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	_COMM_IRQ_BASE@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jle	LBB0_1
## %bb.2:
	movl	%ebx, %edi
	callq	_irq_set_percpu_devid
	movq	_handle_percpu_irq@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_handle_fasteoi_irq@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_csky_irq_chip@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_irq_set_chip_and_handler
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMM_IRQ_BASE,8,3              ## @COMM_IRQ_BASE
	.comm	_csky_irq_chip,4,2              ## @csky_irq_chip
	.comm	_handle_percpu_irq,4,2          ## @handle_percpu_irq
	.comm	_handle_fasteoi_irq,4,2         ## @handle_fasteoi_irq
	.no_dead_strip	_csky_irqdomain_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csky_irqdomain_map
_csky_irqdomain_map:                    ; @csky_irqdomain_map
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _COMM_IRQ_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMM_IRQ_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.le	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_irq_set_percpu_devid
Lloh3:
	adrp	x8, _handle_percpu_irq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _handle_percpu_irq@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _handle_fasteoi_irq@GOTPAGE
Lloh6:
	ldr	x8, [x8, _handle_fasteoi_irq@GOTPAGEOFF]
LBB0_3:
	ldr	w2, [x8]
Lloh7:
	adrp	x1, _csky_irq_chip@GOTPAGE
Lloh8:
	ldr	x1, [x1, _csky_irq_chip@GOTPAGEOFF]
	mov	x0, x19
	bl	_irq_set_chip_and_handler
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COMM_IRQ_BASE,8,3              ; @COMM_IRQ_BASE
	.comm	_csky_irq_chip,4,2              ; @csky_irq_chip
	.comm	_handle_percpu_irq,4,2          ; @handle_percpu_irq
	.comm	_handle_fasteoi_irq,4,2         ; @handle_fasteoi_irq
	.no_dead_strip	_csky_irqdomain_map
.subsections_via_symbols
