	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_irq_release_resources
_exynos_irq_release_resources:          ## @exynos_irq_release_resources
	.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	%rdi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rbx
	movq	24(%rax), %rax
	movq	_PINCFG_TYPE_FUNC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	(%rdx,%rcx,8), %r15
	addq	(%rbx), %r15
	movl	(%rax,%rcx,4), %ecx
	movl	$-1, %r14d
	shll	%cl, %r14d
	movl	(%r12), %r13d
	imull	%ecx, %r13d
	notl	%r14d
	leaq	12(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	16(%rbx), %rdi
	addq	%r15, %rdi
	callq	_readl
	movl	%r13d, %ecx
	shll	%cl, %r14d
	notl	%r14d
	movq	_EXYNOS_PIN_FUNC_INPUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%r13d, %ecx
	shll	%cl, %edi
	andl	%eax, %r14d
	orl	%r14d, %edi
	addq	16(%rbx), %r15
	movq	%r15, %rsi
	callq	_writel
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	addq	$8, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gpiochip_unlock_as_irq         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PINCFG_TYPE_FUNC,8,3           ## @PINCFG_TYPE_FUNC
	.comm	_EXYNOS_PIN_FUNC_INPUT,4,2      ## @EXYNOS_PIN_FUNC_INPUT
	.no_dead_strip	_exynos_irq_release_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_irq_release_resources
_exynos_irq_release_resources:          ; @exynos_irq_release_resources
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_irq_data_get_irq_chip_data
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _PINCFG_TYPE_FUNC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PINCFG_TYPE_FUNC@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldp	x11, x8, [x8]
	ldr	x11, [x11, x10, lsl #3]
	add	x22, x11, x9
	ldr	w8, [x8, x10, lsl #2]
	ldr	w9, [x19]
	mul	w23, w8, w9
	mov	w9, #-1
	lsl	w8, w9, w8
	mvn	w24, w8
	add	x21, x0, #12
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #16]
	add	x0, x8, x22
	bl	_readl
	lsl	w8, w24, w23
Lloh3:
	adrp	x9, _EXYNOS_PIN_FUNC_INPUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXYNOS_PIN_FUNC_INPUT@GOTPAGEOFF]
	bic	w8, w0, w8
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w9, w23
	orr	w0, w9, w8
	ldr	x8, [x20, #16]
	add	x1, x8, x22
	bl	_writel
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	add	x0, x20, #8
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gpiochip_unlock_as_irq
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PINCFG_TYPE_FUNC,8,3           ; @PINCFG_TYPE_FUNC
	.comm	_EXYNOS_PIN_FUNC_INPUT,4,2      ; @EXYNOS_PIN_FUNC_INPUT
	.no_dead_strip	_exynos_irq_release_resources
.subsections_via_symbols
