	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxc_gpio_init_gc
_mxc_gpio_init_gc:                      ## @mxc_gpio_init_gc
	.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, %ecx
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movl	4(%rbx), %r8d
	movq	_handle_level_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rsi
	movl	$1, %edx
	callq	_devm_irq_alloc_generic_chip
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, 8(%rax)
	movq	(%rax), %rax
	movq	_irq_gc_ack_set_bit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_irq_gc_mask_clr_bit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_irq_gc_mask_set_bit@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_gpio_set_irq_type@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_gpio_set_wake_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_IRQCHIP_MASK_ON_SUSPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_GPIO_ISR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_GPIO_IMR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movl	(%rbx), %ebx
	movl	$32, %edi
	callq	_IRQ_MSK
	movq	_IRQ_GC_INIT_NESTED_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IRQ_NOREQUEST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%r9d, %r9d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_devm_irq_setup_generic_chip    ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gpio-mxc"

	.comm	_handle_level_irq,4,2           ## @handle_level_irq
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_irq_gc_ack_set_bit,4,2         ## @irq_gc_ack_set_bit
	.comm	_irq_gc_mask_clr_bit,4,2        ## @irq_gc_mask_clr_bit
	.comm	_irq_gc_mask_set_bit,4,2        ## @irq_gc_mask_set_bit
	.comm	_gpio_set_irq_type,4,2          ## @gpio_set_irq_type
	.comm	_gpio_set_wake_irq,4,2          ## @gpio_set_wake_irq
	.comm	_IRQCHIP_MASK_ON_SUSPEND,4,2    ## @IRQCHIP_MASK_ON_SUSPEND
	.comm	_GPIO_ISR,4,2                   ## @GPIO_ISR
	.comm	_GPIO_IMR,4,2                   ## @GPIO_IMR
	.comm	_IRQ_GC_INIT_NESTED_LOCK,4,2    ## @IRQ_GC_INIT_NESTED_LOCK
	.comm	_IRQ_NOREQUEST,4,2              ## @IRQ_NOREQUEST
	.no_dead_strip	_mxc_gpio_init_gc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxc_gpio_init_gc
_mxc_gpio_init_gc:                      ; @mxc_gpio_init_gc
	.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	x3, x1
	mov	x19, x0
	ldr	w0, [x0]
	ldr	w4, [x19, #4]
Lloh0:
	adrp	x8, _handle_level_irq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _handle_level_irq@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_devm_irq_alloc_generic_chip
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #8]
	ldr	x8, [x0]
Lloh5:
	adrp	x9, _irq_gc_ack_set_bit@GOTPAGE
Lloh6:
	ldr	x9, [x9, _irq_gc_ack_set_bit@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _irq_gc_mask_clr_bit@GOTPAGE
Lloh9:
	ldr	x10, [x10, _irq_gc_mask_clr_bit@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _irq_gc_mask_set_bit@GOTPAGE
Lloh12:
	ldr	x11, [x11, _irq_gc_mask_set_bit@GOTPAGEOFF]
	stp	w10, w9, [x8, #24]
Lloh13:
	ldr	w9, [x11]
Lloh14:
	adrp	x10, _gpio_set_irq_type@GOTPAGE
Lloh15:
	ldr	x10, [x10, _gpio_set_irq_type@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #16]
Lloh17:
	adrp	x9, _gpio_set_wake_irq@GOTPAGE
Lloh18:
	ldr	x9, [x9, _gpio_set_wake_irq@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGE
Lloh21:
	ldr	x10, [x10, _IRQCHIP_MASK_ON_SUSPEND@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #8]
Lloh23:
	adrp	x9, _GPIO_ISR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _GPIO_ISR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _GPIO_IMR@GOTPAGE
Lloh27:
	ldr	x10, [x10, _GPIO_IMR@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
	ldr	w19, [x19]
	mov	w0, #32
	bl	_IRQ_MSK
	mov	x2, x0
Lloh29:
	adrp	x8, _IRQ_GC_INIT_NESTED_LOCK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQ_GC_INIT_NESTED_LOCK@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x8, _IRQ_NOREQUEST@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IRQ_NOREQUEST@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w5, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_devm_irq_setup_generic_chip
LBB0_2:
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gpio-mxc"

	.comm	_handle_level_irq,4,2           ; @handle_level_irq
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_irq_gc_ack_set_bit,4,2         ; @irq_gc_ack_set_bit
	.comm	_irq_gc_mask_clr_bit,4,2        ; @irq_gc_mask_clr_bit
	.comm	_irq_gc_mask_set_bit,4,2        ; @irq_gc_mask_set_bit
	.comm	_gpio_set_irq_type,4,2          ; @gpio_set_irq_type
	.comm	_gpio_set_wake_irq,4,2          ; @gpio_set_wake_irq
	.comm	_IRQCHIP_MASK_ON_SUSPEND,4,2    ; @IRQCHIP_MASK_ON_SUSPEND
	.comm	_GPIO_ISR,4,2                   ; @GPIO_ISR
	.comm	_GPIO_IMR,4,2                   ; @GPIO_IMR
	.comm	_IRQ_GC_INIT_NESTED_LOCK,4,2    ; @IRQ_GC_INIT_NESTED_LOCK
	.comm	_IRQ_NOREQUEST,4,2              ; @IRQ_NOREQUEST
	.no_dead_strip	_mxc_gpio_init_gc
.subsections_via_symbols
