	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exynos_eint_gpio_init          ## -- Begin function exynos_eint_gpio_init
	.p2align	4, 0x90
_exynos_eint_gpio_init:                 ## @exynos_eint_gpio_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r14
	movl	24(%rdi), %ebx
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	movq	_exynos_eint_gpio_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, %rdi
	callq	_dev_name
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_ENXIO@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	callq	_dev_err
	xorl	%r12d, %r12d
	subl	(%rbx), %r12d
LBB0_20:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.6:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rbx
	xorl	%r13d, %r13d
	movq	_EINT_TYPE_GPIO@GOTPCREL(%rip), %r14
	movq	_exynos_eint_irqd_ops@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r13d
	addq	$40, %rbx
	cmpl	%eax, %r13d
	jge	LBB0_19
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	28(%rbx), %esi
	movl	32(%rbx), %edi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_irq_domain_add_linear
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r15), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_devm_kzalloc
	movl	%eax, 24(%rbx)
	testl	%eax, %eax
	je	LBB0_11
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_exynos_gpio_irq_chip@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movl	(%r15), %eax
	jmp	LBB0_18
LBB0_19:
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movl	8(%rbx), %edi
	callq	_irq_domain_remove
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_12:
	movq	%r14, %rcx
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	testl	%r13d, %r13d
	je	LBB0_20
## %bb.13:
	addq	$-32, %rbx
	incl	%r13d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	decl	%r13d
	addq	$-40, %rbx
	cmpl	$1, %r13d
	jle	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rbx), %edi
	callq	_irq_domain_remove
	movq	%r14, %rcx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq number not available\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_exynos_eint_gpio_irq,4,2       ## @exynos_eint_gpio_irq
L_.str.1:                               ## @.str.1
	.asciz	"irq request failed\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EINT_TYPE_GPIO,8,3             ## @EINT_TYPE_GPIO
	.comm	_exynos_eint_irqd_ops,4,2       ## @exynos_eint_irqd_ops
L_.str.2:                               ## @.str.2
	.asciz	"gpio irq domain add failed\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_exynos_gpio_irq_chip,4,2       ## @exynos_gpio_irq_chip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exynos_eint_gpio_init          ; -- Begin function exynos_eint_gpio_init
	.p2align	2
_exynos_eint_gpio_init:                 ; @exynos_eint_gpio_init
	.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
	ldr	x19, [x0, #8]
	ldr	w21, [x0, #24]
	cbz	w21, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _exynos_eint_gpio_irq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _exynos_eint_gpio_irq@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbz	w0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x20, _ENXIO@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ENXIO@GOTPAGEOFF]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x20, _EINVAL@GOTPAGE
Lloh8:
	ldr	x20, [x20, _EINVAL@GOTPAGEOFF]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
	ldr	w8, [x20]
	neg	w19, w8
LBB0_5:
	mov	x0, 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
	ret
LBB0_6:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.7:
	mov	w24, #0
	ldr	x9, [x20, #16]
	sub	x22, x9, #40
Lloh11:
	adrp	x23, _EINT_TYPE_GPIO@GOTPAGE
Lloh12:
	ldr	x23, [x23, _EINT_TYPE_GPIO@GOTPAGEOFF]
Lloh13:
	adrp	x21, _exynos_eint_irqd_ops@GOTPAGE
Lloh14:
	ldr	x21, [x21, _exynos_eint_irqd_ops@GOTPAGEOFF]
Lloh15:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	adrp	x26, _exynos_gpio_irq_chip@GOTPAGE
Lloh18:
	ldr	x26, [x26, _exynos_gpio_irq_chip@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w24, w24, #1
	add	x22, x22, #40
	cmp	w24, w8
	b.ge	LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x3, x22
	ldr	x9, [x3, #40]!
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldp	w1, w0, [x22, #68]
	mov	x2, x21
	bl	_irq_domain_add_linear
	str	w0, [x22, #48]
	cbz	w0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x20, #8]
	ldr	w2, [x25]
	mov	w1, #4
	bl	_devm_kzalloc
	str	w0, [x22, #64]
	cbz	w0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x26, [x22, #56]
	ldr	w8, [x20]
	b	LBB0_8
LBB0_13:
	mov	w19, #0
	b	LBB0_5
LBB0_14:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh21:
	adrp	x8, _ENXIO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
	ldr	w0, [x22, #48]
	bl	_irq_domain_remove
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w19, w8
	cbz	w24, LBB0_5
; %bb.17:
	add	w20, w24, #1
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	sub	w20, w20, #1
	sub	x22, x22, #40
	cmp	w20, #1
	b.le	LBB0_5
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x22, #8]
	bl	_irq_domain_remove
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq number not available\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_exynos_eint_gpio_irq,4,2       ; @exynos_eint_gpio_irq
l_.str.1:                               ; @.str.1
	.asciz	"irq request failed\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EINT_TYPE_GPIO,8,3             ; @EINT_TYPE_GPIO
	.comm	_exynos_eint_irqd_ops,4,2       ; @exynos_eint_irqd_ops
l_.str.2:                               ; @.str.2
	.asciz	"gpio irq domain add failed\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_exynos_gpio_irq_chip,4,2       ; @exynos_gpio_irq_chip
.subsections_via_symbols
