	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpmc_irq_map
_gpmc_irq_map:                          ## @gpmc_irq_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	(%rdi), %r14
	movl	%esi, %edi
	movq	%r14, %rsi
	callq	_irq_set_chip_data
	movq	_GPMC_NR_NAND_IRQS@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jle	LBB0_1
## %bb.2:
	movq	_IRQ_NOREQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQ_NOAUTOEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_irq_modify_status
	movq	_handle_simple_irq@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_irq_set_chip_and_handler
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPMC_NR_NAND_IRQS,8,3          ## @GPMC_NR_NAND_IRQS
	.comm	_IRQ_NOREQUEST,4,2              ## @IRQ_NOREQUEST
	.comm	_IRQ_NOAUTOEN,4,2               ## @IRQ_NOAUTOEN
	.comm	_handle_simple_irq,4,2          ## @handle_simple_irq
	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.no_dead_strip	_gpmc_irq_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpmc_irq_map
_gpmc_irq_map:                          ; @gpmc_irq_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	x21, x2
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x1
	mov	x1, x20
	bl	_irq_set_chip_data
Lloh0:
	adrp	x8, _GPMC_NR_NAND_IRQS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPMC_NR_NAND_IRQS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IRQ_NOREQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQ_NOREQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IRQ_NOAUTOEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_NOAUTOEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_irq_modify_status
Lloh9:
	adrp	x8, _handle_simple_irq@GOTPAGE
Lloh10:
	ldr	x8, [x8, _handle_simple_irq@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _handle_edge_irq@GOTPAGE
Lloh12:
	ldr	x8, [x8, _handle_edge_irq@GOTPAGEOFF]
LBB0_3:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_irq_set_chip_and_handler
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GPMC_NR_NAND_IRQS,8,3          ; @GPMC_NR_NAND_IRQS
	.comm	_IRQ_NOREQUEST,4,2              ; @IRQ_NOREQUEST
	.comm	_IRQ_NOAUTOEN,4,2               ; @IRQ_NOAUTOEN
	.comm	_handle_simple_irq,4,2          ; @handle_simple_irq
	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.no_dead_strip	_gpmc_irq_map
.subsections_via_symbols
