	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s3c64xx_eint_gpio_irq
_s3c64xx_eint_gpio_irq:                 ## @s3c64xx_eint_gpio_irq
	.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
	movq	%rdi, %rbx
	callq	_irq_desc_get_chip
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_irq_desc_get_handler_data
	movq	%rax, %r12
	movq	8(%rax), %r13
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_chained_irq_enter
	movq	_SERVICE_REG@GOTPCREL(%rip), %r14
	movq	_SVC_NUM_MASK@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	movl	%ebx, %ecx
	subl	$8, %ecx
	cmovael	%ecx, %ebx
	setae	%al
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %edi
	movl	%ebx, %esi
	callq	_irq_linear_revmap
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movl	%ebx, %edi
	callq	_generic_handle_irq
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	(%r13), %rdi
	callq	_readl
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SVC_GROUP
	andl	(%r15), %ebx
	cmpl	$1, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chained_irq_exit               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVICE_REG,8,3                ## @SERVICE_REG
	.comm	_SVC_NUM_MASK,4,2               ## @SVC_NUM_MASK
	.no_dead_strip	_s3c64xx_eint_gpio_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s3c64xx_eint_gpio_irq
_s3c64xx_eint_gpio_irq:                 ; @s3c64xx_eint_gpio_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_irq_desc_get_chip
	mov	x20, x0
	mov	x0, x19
	bl	_irq_desc_get_handler_data
	mov	x21, x0
	ldr	x23, [x0, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_chained_irq_enter
Lloh0:
	adrp	x24, _SERVICE_REG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SERVICE_REG@GOTPAGEOFF]
Lloh2:
	adrp	x25, _SVC_NUM_MASK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SVC_NUM_MASK@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w1, #7
	cset	w0, hi
	subs	w8, w1, #8
	csel	w1, w1, w8, lo
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, w0, uxtw #2]
	bl	_irq_linear_revmap
	mov	x22, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x22
	bl	_generic_handle_irq
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
	mov	x22, x0
	bl	_SVC_GROUP
	ldr	w8, [x25]
	and	w1, w8, w22
	cmp	w0, #1
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w0, LBB0_2
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_chained_irq_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVICE_REG,8,3                ; @SERVICE_REG
	.comm	_SVC_NUM_MASK,4,2               ; @SVC_NUM_MASK
	.no_dead_strip	_s3c64xx_eint_gpio_irq
.subsections_via_symbols
