	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_gpio_irq_wake
_intel_gpio_irq_wake:                   ## @intel_gpio_irq_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, %r14d
	movq	%rdi, %rbx
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_irqd_to_hwirq
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_intel_gpio_to_pin
	movl	%eax, %r15d
	movl	4(%r12), %edi
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	callq	_enable_irq_wake
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	callq	_disable_irq_wake
	leaq	L_.str.2(%rip), %rdx
LBB0_3:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %ecx
	callq	_dev_dbg
	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	"%sable wake for pin %u\n"

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

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

	.no_dead_strip	_intel_gpio_irq_wake
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_gpio_irq_wake
_intel_gpio_irq_wake:                   ; @intel_gpio_irq_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	x21, x1
	mov	x20, x0
	bl	_irq_data_get_irq_chip_data
	bl	_gpiochip_get_data
	mov	x19, x0
	mov	x0, x20
	bl	_irqd_to_hwirq
	mov	x1, x0
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	bl	_intel_gpio_to_pin
	mov	x20, x0
	ldr	w0, [x19, #4]
	cbz	w21, LBB0_2
; %bb.1:
	bl	_enable_irq_wake
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	bl	_disable_irq_wake
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_3:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_dev_dbg
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%sable wake for pin %u\n"

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

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

	.no_dead_strip	_intel_gpio_irq_wake
.subsections_via_symbols
