	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s3c24xx_gpf_irq_map
_s3c24xx_gpf_irq_map:                   ## @s3c24xx_gpf_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	(%rdi), %rax
	movq	8(%rax), %rbx
	movl	(%rbx), %ecx
	movl	4(%rbx), %esi
	addl	%edx, %esi
	btl	%esi, %ecx
	jae	LBB0_1
## %bb.2:
	cmpl	$3, %edx
	jg	LBB0_6
## %bb.3:
	cmpq	$0, (%rax)
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	je	LBB0_5
## %bb.4:
	movq	_s3c2410_eint0_3_chip@GOTPCREL(%rip), %rsi
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_6:
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_s3c24xx_eint_chip@GOTPCREL(%rip), %rsi
	jmp	LBB0_7
LBB0_5:
	movq	_s3c2412_eint0_3_chip@GOTPCREL(%rip), %rsi
LBB0_7:
	movl	%r14d, %edi
	callq	_irq_set_chip_and_handler
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_irq_set_chip_data
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_s3c2410_eint0_3_chip,4,2       ## @s3c2410_eint0_3_chip
	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.comm	_s3c2412_eint0_3_chip,4,2       ## @s3c2412_eint0_3_chip
	.comm	_s3c24xx_eint_chip,4,2          ## @s3c24xx_eint_chip
	.no_dead_strip	_s3c24xx_gpf_irq_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s3c24xx_gpf_irq_map
_s3c24xx_gpf_irq_map:                   ; @s3c24xx_gpf_irq_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
	ldr	x8, [x0]
	ldr	x20, [x8, #8]
	ldp	w9, w10, [x20]
	add	w10, w10, w2
	lsr	w9, w9, w10
	tbz	w9, #0, LBB0_4
; %bb.1:
	mov	x19, x1
	cmp	w2, #3
	b.gt	LBB0_5
; %bb.2:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _handle_edge_irq@GOTPAGE
Lloh1:
	ldr	x9, [x9, _handle_edge_irq@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	cbz	x8, LBB0_6
; %bb.3:
Lloh3:
	adrp	x1, _s3c2410_eint0_3_chip@GOTPAGE
Lloh4:
	ldr	x1, [x1, _s3c2410_eint0_3_chip@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _handle_edge_irq@GOTPAGE
Lloh9:
	ldr	x8, [x8, _handle_edge_irq@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x1, _s3c24xx_eint_chip@GOTPAGE
Lloh12:
	ldr	x1, [x1, _s3c24xx_eint_chip@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x1, _s3c2412_eint0_3_chip@GOTPAGE
Lloh14:
	ldr	x1, [x1, _s3c2412_eint0_3_chip@GOTPAGEOFF]
LBB0_7:
	mov	x0, x19
	bl	_irq_set_chip_and_handler
	mov	x0, x19
	mov	x1, x20
	bl	_irq_set_chip_data
	mov	w0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_s3c2410_eint0_3_chip,4,2       ; @s3c2410_eint0_3_chip
	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.comm	_s3c2412_eint0_3_chip,4,2       ; @s3c2412_eint0_3_chip
	.comm	_s3c24xx_eint_chip,4,2          ; @s3c24xx_eint_chip
	.no_dead_strip	_s3c24xx_gpf_irq_map
.subsections_via_symbols
