	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxs_gpio_irq_handler
_mxs_gpio_irq_handler:                  ## @mxs_gpio_irq_handler
	.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
	movq	%rdi, %rbx
	callq	_irq_desc_get_handler_data
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	8(%r14), %rbx
	movq	%r14, %rdi
	callq	_PINCTRL_IRQSTAT
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movl	%eax, %r12d
	movq	8(%r14), %rbx
	movq	%r14, %rdi
	callq	_PINCTRL_IRQEN
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movl	%eax, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r14), %edi
	movl	%ebx, %esi
	callq	_irq_find_mapping
	movl	%eax, %edi
	callq	_generic_handle_irq
	notl	%r12d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	andl	%r12d, %r15d
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edi
	callq	_fls
	movl	%eax, %ebx
	decl	%ebx
	movl	(%r14), %eax
	movl	$1, %r12d
	movl	%ebx, %ecx
	shll	%cl, %r12d
	btl	%ebx, %eax
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_mxs_flip_edge
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mxs_gpio_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxs_gpio_irq_handler
_mxs_gpio_irq_handler:                  ; @mxs_gpio_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	bl	_irq_desc_get_handler_data
	mov	x19, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	ldr	x20, [x19, #8]
	mov	x0, x19
	bl	_PINCTRL_IRQSTAT
	add	x0, x0, x20
	bl	_readl
	mov	x20, x0
	ldr	x21, [x19, #8]
	mov	x0, x19
	bl	_PINCTRL_IRQEN
	add	x0, x0, x21
	bl	_readl
	ands	w20, w0, w20
	b.eq	LBB0_5
; %bb.1:
	mov	w22, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_irq_find_mapping
	bl	_generic_handle_irq
	bics	w20, w20, w23
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_fls
	sub	w21, w0, #1
	ldr	w8, [x19]
	lsl	w23, w22, w21
	tst	w23, w8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_mxs_flip_edge
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mxs_gpio_irq_handler
.subsections_via_symbols
