	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_gpio_exec_intr_handlers
_mv_gpio_exec_intr_handlers:            ## @mv_gpio_exec_intr_handlers
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	movl	%edi, %r14d
	callq	_device_get_softc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_MV_GPIO_ASSERT_LOCKED
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_mv_gpio_debounce_start
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %eax
	sarl	%eax
	incq	%r12
	cmpl	$1, %ebx
	movl	%eax, %ebx
	jbe	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %bl
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	movq	_GPIO_PINS_PER_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovel	%r15d, %eax
	leaq	(%r12,%rax), %r13
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	cltq
	addq	%r12, %rax
	movl	(%rcx,%rax,4), %eax
	movq	_MV_GPIO_IN_DEBOUNCE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MV_GPIO_IN_IRQ_DOUBLE_EDGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	movl	%r13d, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_mv_gpio_polarity
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_mv_gpio_intr_handler
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_PINS_PER_REG,4,2          ## @GPIO_PINS_PER_REG
	.comm	_MV_GPIO_IN_DEBOUNCE,4,2        ## @MV_GPIO_IN_DEBOUNCE
	.comm	_MV_GPIO_IN_IRQ_DOUBLE_EDGE,4,2 ## @MV_GPIO_IN_IRQ_DOUBLE_EDGE
	.no_dead_strip	_mv_gpio_exec_intr_handlers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_gpio_exec_intr_handlers
_mv_gpio_exec_intr_handlers:            ; @mv_gpio_exec_intr_handlers
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_device_get_softc
	mov	x22, x0
	bl	_MV_GPIO_ASSERT_LOCKED
	cbz	w21, LBB0_9
; %bb.1:
	mov	x24, #0
Lloh0:
	adrp	x25, _GPIO_PINS_PER_REG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _GPIO_PINS_PER_REG@GOTPAGEOFF]
Lloh2:
	adrp	x26, _MV_GPIO_IN_DEBOUNCE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MV_GPIO_IN_DEBOUNCE@GOTPAGEOFF]
Lloh4:
	adrp	x27, _MV_GPIO_IN_IRQ_DOUBLE_EDGE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _MV_GPIO_IN_IRQ_DOUBLE_EDGE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_mv_gpio_debounce_start
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w8, w21, #1
	add	x24, x24, #1
	cmp	w21, #1
	mov	x21, x8
	b.ls	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w21, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	cmp	w19, #0
	csel	w8, wzr, w8, eq
	add	x23, x24, x8
	ldr	x9, [x22]
	add	x8, x24, w8, sxtw
	ldr	w8, [x9, x8, lsl #2]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	mov	w2, #0
	mov	w3, #1
	bl	_mv_gpio_polarity
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_mv_gpio_intr_handler
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_PINS_PER_REG,4,2          ; @GPIO_PINS_PER_REG
	.comm	_MV_GPIO_IN_DEBOUNCE,4,2        ; @MV_GPIO_IN_DEBOUNCE
	.comm	_MV_GPIO_IN_IRQ_DOUBLE_EDGE,4,2 ; @MV_GPIO_IN_IRQ_DOUBLE_EDGE
	.no_dead_strip	_mv_gpio_exec_intr_handlers
.subsections_via_symbols
