	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int0002_probe
_int0002_probe:                         ## @int0002_probe
	.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, %r15
	movq	_int0002_cpu_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_x86_match_cpu
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r13
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r13)
	movq	%r15, 56(%r13)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
	movq	_int0002_gpio_get@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r13)
	movq	_int0002_gpio_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r13)
	movq	%rax, 24(%r13)
	movq	_int0002_gpio_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movl	$-1, (%r13)
	movq	_GPE0A_PME_B0_VIRT_GPIO_PIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	%rax, 8(%r13)
	movq	_int0002_init_irq_valid_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_devm_gpiochip_add_data
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movl	%r14d, %ebx
	jmp	LBB0_14
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_int0002_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %r8
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_14
LBB0_11:
	movq	(%r12), %rsi
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQ_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	callq	_gpiochip_irqchip_add
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r12d
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r12d, %ebx
	jmp	LBB0_14
LBB0_13:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_gpiochip_set_chained_irqchip
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_device_init_wakeup
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_int0002_cpu_ids,4,2            ## @int0002_cpu_ids
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_int0002_gpio_get,8,3           ## @int0002_gpio_get
	.comm	_int0002_gpio_set,4,2           ## @int0002_gpio_set
	.comm	_int0002_gpio_direction_output,4,2 ## @int0002_gpio_direction_output
	.comm	_GPE0A_PME_B0_VIRT_GPIO_PIN,8,3 ## @GPE0A_PME_B0_VIRT_GPIO_PIN
	.comm	_int0002_init_irq_valid_mask,4,2 ## @int0002_init_irq_valid_mask
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error adding gpio chip: %d\n"

	.comm	_int0002_irq,4,2                ## @int0002_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.1:                               ## @.str.1
	.asciz	"INT0002"

L_.str.2:                               ## @.str.2
	.asciz	"Error requesting IRQ %d: %d\n"

	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.comm	_IRQ_TYPE_NONE,4,2              ## @IRQ_TYPE_NONE
L_.str.3:                               ## @.str.3
	.asciz	"Error adding irqchip: %d\n"

	.no_dead_strip	_int0002_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int0002_probe
_int0002_probe:                         ; @int0002_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _int0002_cpu_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _int0002_cpu_ids@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_x86_match_cpu
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x20, x0
	tbnz	w0, #31, LBB0_9
; %bb.2:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.3:
	mov	x22, x0
Lloh6:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #64]
	str	x19, [x0, #56]
Lloh9:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #48]
Lloh12:
	adrp	x8, _int0002_gpio_get@GOTPAGE
Lloh13:
	ldr	x8, [x8, _int0002_gpio_get@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x0, #40]
Lloh15:
	adrp	x9, _int0002_gpio_set@GOTPAGE
Lloh16:
	ldr	x9, [x9, _int0002_gpio_set@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	str	w9, [x0, #32]
	str	x8, [x0, #24]
Lloh18:
	adrp	x8, _int0002_gpio_direction_output@GOTPAGE
Lloh19:
	ldr	x8, [x8, _int0002_gpio_direction_output@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	mov	w8, #-1
	str	w8, [x0]
Lloh21:
	adrp	x8, _GPE0A_PME_B0_VIRT_GPIO_PIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GPE0A_PME_B0_VIRT_GPIO_PIN@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x8, x8, #1
	str	x8, [x0, #8]
Lloh24:
	adrp	x8, _int0002_init_irq_valid_mask@GOTPAGE
Lloh25:
	ldr	x8, [x8, _int0002_init_irq_valid_mask@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	bl	_devm_gpiochip_add_data
	cbz	w0, LBB0_10
; %bb.4:
	mov	x23, x0
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x19
	mov	x2, x23
	bl	_dev_err
	mov	x20, x23
	b	LBB0_9
LBB0_6:
Lloh29:
	adrp	x8, _ENODEV@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
Lloh33:
	adrp	x8, _int0002_irq@GOTPAGE
Lloh34:
	ldr	x8, [x8, _int0002_irq@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
Lloh39:
	adrp	x4, l_.str.1@PAGE
Lloh40:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x5, x22
	bl	_devm_request_irq
	cbz	w0, LBB0_12
; %bb.11:
	mov	x23, x0
	str	x23, [sp]
Lloh41:
	adrp	x1, l_.str.2@PAGE
Lloh42:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
	mov	x20, x23
	b	LBB0_9
LBB0_12:
	ldr	x21, [x21]
Lloh43:
	adrp	x8, _handle_edge_irq@GOTPAGE
Lloh44:
	ldr	x8, [x8, _handle_edge_irq@GOTPAGEOFF]
Lloh45:
	ldr	w3, [x8]
Lloh46:
	adrp	x8, _IRQ_TYPE_NONE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IRQ_TYPE_NONE@GOTPAGEOFF]
Lloh48:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_gpiochip_irqchip_add
	cbz	w0, LBB0_14
; %bb.13:
	mov	x23, x0
Lloh49:
	adrp	x1, l_.str.3@PAGE
Lloh50:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_14:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, #0
	bl	_gpiochip_set_chained_irqchip
	mov	x0, x19
	mov	w1, #1
	bl	_device_init_wakeup
	mov	w20, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_int0002_cpu_ids,4,2            ; @int0002_cpu_ids
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_int0002_gpio_get,8,3           ; @int0002_gpio_get
	.comm	_int0002_gpio_set,4,2           ; @int0002_gpio_set
	.comm	_int0002_gpio_direction_output,4,2 ; @int0002_gpio_direction_output
	.comm	_GPE0A_PME_B0_VIRT_GPIO_PIN,8,3 ; @GPE0A_PME_B0_VIRT_GPIO_PIN
	.comm	_int0002_init_irq_valid_mask,4,2 ; @int0002_init_irq_valid_mask
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error adding gpio chip: %d\n"

	.comm	_int0002_irq,4,2                ; @int0002_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.1:                               ; @.str.1
	.asciz	"INT0002"

l_.str.2:                               ; @.str.2
	.asciz	"Error requesting IRQ %d: %d\n"

	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.comm	_IRQ_TYPE_NONE,4,2              ; @IRQ_TYPE_NONE
l_.str.3:                               ; @.str.3
	.asciz	"Error adding irqchip: %d\n"

	.no_dead_strip	_int0002_probe
.subsections_via_symbols
