	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_dsi_register_te_irq
_exynos_dsi_register_te_irq:            ## @exynos_dsi_register_te_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movl	%eax, (%r14)
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_8
## %bb.1:
	movl	%eax, %edi
	callq	_gpio_is_valid
	movl	(%r14), %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	callq	_gpio_request
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movl	4(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movl	%ebx, %edx
	callq	_dev_err
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r14), %edi
	callq	_gpio_to_irq
	movl	%eax, %r15d
	movq	_IRQ_NOAUTOEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_irq_set_status_flags
	movq	_exynos_dsi_te_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %r8
	xorl	%ebx, %ebx
	movl	%r15d, %edi
	xorl	%edx, %edx
	movq	%r14, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r15d
	movl	4(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movl	(%r14), %edi
	callq	_gpio_free
	movl	%r15d, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"te-gpios"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"cannot get te-gpios, %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"te_gpio"

L_.str.3:                               ## @.str.3
	.asciz	"gpio request failed with %d\n"

	.comm	_IRQ_NOAUTOEN,4,2               ## @IRQ_NOAUTOEN
	.comm	_exynos_dsi_te_irq_handler,4,2  ## @exynos_dsi_te_irq_handler
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
L_.str.4:                               ## @.str.4
	.asciz	"TE"

L_.str.5:                               ## @.str.5
	.asciz	"request interrupt failed with %d\n"

	.no_dead_strip	_exynos_dsi_register_te_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_dsi_register_te_irq
_exynos_dsi_register_te_irq:            ; @exynos_dsi_register_te_irq
	.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
	mov	x19, x0
	ldr	w0, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_of_get_named_gpio
	mov	w20, #0
	str	w0, [x19]
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_6
; %bb.1:
	bl	_gpio_is_valid
	ldr	w20, [x19]
	cbz	w0, LBB0_4
; %bb.2:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_gpio_request
	cbz	w0, LBB0_7
; %bb.3:
	mov	x20, x0
	ldr	w0, [x19, #4]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x2, x20
	bl	_dev_err
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w0, [x19]
	bl	_gpio_to_irq
	mov	x20, x0
Lloh11:
	adrp	x8, _IRQ_NOAUTOEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_NOAUTOEN@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_irq_set_status_flags
Lloh14:
	adrp	x8, _exynos_dsi_te_irq_handler@GOTPAGE
Lloh15:
	ldr	x8, [x8, _exynos_dsi_te_irq_handler@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
Lloh20:
	adrp	x4, l_.str.4@PAGE
Lloh21:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	mov	x5, x19
	bl	_request_threaded_irq
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.8:
	ldr	w0, [x19, #4]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	ldr	w0, [x19]
	bl	_gpio_free
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"te-gpios"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"cannot get te-gpios, %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"te_gpio"

l_.str.3:                               ; @.str.3
	.asciz	"gpio request failed with %d\n"

	.comm	_IRQ_NOAUTOEN,4,2               ; @IRQ_NOAUTOEN
	.comm	_exynos_dsi_te_irq_handler,4,2  ; @exynos_dsi_te_irq_handler
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
l_.str.4:                               ; @.str.4
	.asciz	"TE"

l_.str.5:                               ; @.str.5
	.asciz	"request interrupt failed with %d\n"

	.no_dead_strip	_exynos_dsi_register_te_irq
.subsections_via_symbols
