	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_wkup_irq_set_wake
_exynos_wkup_irq_set_wake:              ## @exynos_wkup_irq_set_wake
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_irq_data_get_irq_chip
	movq	%rax, %rdi
	callq	_to_exynos_irq_chip
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_irq_data_get_irq_chip_data
	movl	(%rax), %ecx
	addl	%ecx, %ecx
	addl	(%r12), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rbx
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movl	4(%r12), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.2:
	notq	%rbx
	andq	%rbx, (%r14)
	jmp	LBB0_3
LBB0_1:
	orq	%rbx, (%r14)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wake %s for irq %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"enabled"

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

	.no_dead_strip	_exynos_wkup_irq_set_wake
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_wkup_irq_set_wake
_exynos_wkup_irq_set_wake:              ; @exynos_wkup_irq_set_wake
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_irq_data_get_irq_chip
	bl	_to_exynos_irq_chip
	mov	x19, x0
	mov	x0, x21
	bl	_irq_data_get_irq_chip_data
	ldr	w8, [x0]
	ldp	w9, w2, [x21]
	add	w8, w9, w8, lsl #1
	mov	w9, #1
	lsl	x21, x9, x8
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x1, x9, x8, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	bic	x8, x8, x21
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	orr	x8, x8, x21
LBB0_3:
	str	x8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wake %s for irq %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"enabled"

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

	.no_dead_strip	_exynos_wkup_irq_set_wake
.subsections_via_symbols
