	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_rcar_irq_set_wake
_gpio_rcar_irq_set_wake:                ## @gpio_rcar_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movl	%r14d, %esi
	callq	_irq_set_irq_wake
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	16(%rbx), %edi
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	$0, 8(%rbx)
LBB0_3:
	movq	%rbx, %rdi
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	callq	_atomic_inc
	jmp	LBB0_6
LBB0_5:
	callq	_atomic_dec
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"irq %u doesn't support irq_set_wake\n"

	.no_dead_strip	_gpio_rcar_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 gpio_rcar_irq_set_wake
_gpio_rcar_irq_set_wake:                ; @gpio_rcar_irq_set_wake
	.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, x1
	bl	_irq_data_get_irq_chip_data
	bl	_gpiochip_get_data
	mov	x20, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x19
	bl	_irq_set_irq_wake
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #16]
	ldr	x2, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	str	xzr, [x20, #8]
LBB0_3:
	mov	x0, x20
	cbz	w19, LBB0_5
; %bb.4:
	bl	_atomic_inc
	b	LBB0_6
LBB0_5:
	bl	_atomic_dec
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"irq %u doesn't support irq_set_wake\n"

	.no_dead_strip	_gpio_rcar_irq_set_wake
.subsections_via_symbols
