	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iproc_gpio_probe
_iproc_gpio_probe:                      ## @iproc_gpio_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_IOCTRL_TYPE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IPROC_PINCONF_DRIVE_STRENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
	movb	$1, %bl
	jmp	LBB0_3
LBB0_2:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	sete	%bl
	xorl	%r12d, %r12d
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$200, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r14
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%rax, %r12
	movq	%r13, 192(%r14)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 184(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	184(%r12), %rdi
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_9:
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 176(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	176(%r12), %rdi
	jmp	LBB0_8
LBB0_12:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_IOCTRL_TYPE_CDRU@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_IOCTRL_TYPE_AON@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %r15d
LBB0_16:
	movl	%r15d, (%r12)
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	leaq	-52(%rbp), %rdx
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_18:
	leaq	168(%r14), %rdi
	callq	_raw_spin_lock_init
	movl	$-1, 72(%r12)
	movl	-52(%rbp), %eax
	movl	%eax, 76(%r12)
	movq	_NGPIOS_PER_BANK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
	movl	%eax, 4(%r12)
	movq	%r13, %rdi
	callq	_dev_name
	movl	%eax, 160(%r12)
	movq	%r13, 152(%r12)
	movl	(%r13), %edi
	movl	%edi, 148(%r12)
	movq	_iproc_gpio_request@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 144(%r12)
	movq	_iproc_gpio_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 140(%r12)
	movq	_iproc_gpio_direction_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 136(%r12)
	movq	_iproc_gpio_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%r12)
	movq	_iproc_gpio_get_direction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%r12)
	movq	_iproc_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%r12)
	movq	_iproc_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r12)
	leaq	L_.str.6(%rip), %rsi
	callq	_of_property_read_bool
	movl	%eax, 64(%r12)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	jle	LBB0_21
## %bb.19:
	movl	%eax, %ebx
	leaq	8(%r14), %rax
	leaq	L_.str.7(%rip), %rcx
	movq	%rcx, 8(%r12)
	movq	_iproc_gpio_irq_ack@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 56(%r12)
	movq	_iproc_gpio_irq_mask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%r12)
	movq	_iproc_gpio_irq_unmask@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 40(%r12)
	movq	_iproc_gpio_irq_set_type@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 32(%r12)
	movq	%rdx, 24(%r12)
	movq	%rcx, 16(%r12)
	movq	%rax, 112(%r12)
	movq	_iproc_gpio_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%r12)
	movl	$1, 80(%r12)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	$1, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 88(%r12)
	testq	%rax, %rax
	je	LBB0_4
## %bb.20:
	movl	%ebx, (%rax)
	movq	_IRQ_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%r12)
	movq	_handle_simple_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%r12)
LBB0_21:
	addq	$72, %r14
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_gpiochip_add_data
	testl	%eax, %eax
	js	LBB0_22
## %bb.23:
	xorl	%ebx, %ebx
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_30
## %bb.24:
	movq	%r12, %rdi
	callq	_iproc_gpio_register_pinconf
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_29
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_30:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	jmp	LBB0_30
LBB0_26:
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_30
## %bb.27:
	movq	%r12, %rdi
	callq	_iproc_pinconf_disable_map_create
	testl	%eax, %eax
	je	LBB0_30
## %bb.28:
	leaq	L_.str.10(%rip), %rsi
LBB0_29:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_dev_err
	movq	%r14, %rdi
	callq	_gpiochip_remove
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_IOCTRL_TYPE_INVALID,4,2        ## @IOCTRL_TYPE_INVALID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"brcm,iproc-nsp-gpio"

	.comm	_IPROC_PINCONF_DRIVE_STRENGTH,4,2 ## @IPROC_PINCONF_DRIVE_STRENGTH
L_.str.1:                               ## @.str.1
	.asciz	"brcm,iproc-stingray-gpio"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.2:                               ## @.str.2
	.asciz	"unable to map I/O memory\n"

L_.str.3:                               ## @.str.3
	.asciz	"brcm,cygnus-ccm-gpio"

	.comm	_IOCTRL_TYPE_CDRU,4,2           ## @IOCTRL_TYPE_CDRU
	.comm	_IOCTRL_TYPE_AON,4,2            ## @IOCTRL_TYPE_AON
L_.str.4:                               ## @.str.4
	.asciz	"ngpios"

L_.str.5:                               ## @.str.5
	.asciz	"missing ngpios DT property\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_NGPIOS_PER_BANK,4,2            ## @NGPIOS_PER_BANK
	.comm	_iproc_gpio_request,4,2         ## @iproc_gpio_request
	.comm	_iproc_gpio_free,4,2            ## @iproc_gpio_free
	.comm	_iproc_gpio_direction_input,4,2 ## @iproc_gpio_direction_input
	.comm	_iproc_gpio_direction_output,4,2 ## @iproc_gpio_direction_output
	.comm	_iproc_gpio_get_direction,4,2   ## @iproc_gpio_get_direction
	.comm	_iproc_gpio_set,4,2             ## @iproc_gpio_set
	.comm	_iproc_gpio_get,4,2             ## @iproc_gpio_get
L_.str.6:                               ## @.str.6
	.asciz	"gpio-ranges"

L_.str.7:                               ## @.str.7
	.asciz	"bcm-iproc-gpio"

	.comm	_iproc_gpio_irq_ack,4,2         ## @iproc_gpio_irq_ack
	.comm	_iproc_gpio_irq_mask,8,3        ## @iproc_gpio_irq_mask
	.comm	_iproc_gpio_irq_unmask,8,3      ## @iproc_gpio_irq_unmask
	.comm	_iproc_gpio_irq_set_type,4,2    ## @iproc_gpio_irq_set_type
	.comm	_iproc_gpio_irq_handler,4,2     ## @iproc_gpio_irq_handler
	.comm	_IRQ_TYPE_NONE,4,2              ## @IRQ_TYPE_NONE
	.comm	_handle_simple_irq,4,2          ## @handle_simple_irq
L_.str.8:                               ## @.str.8
	.asciz	"unable to add GPIO chip\n"

L_.str.9:                               ## @.str.9
	.asciz	"unable to register pinconf\n"

L_.str.10:                              ## @.str.10
	.asciz	"unable to create pinconf disable map\n"

	.no_dead_strip	_iproc_gpio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iproc_gpio_probe
_iproc_gpio_probe:                      ; @iproc_gpio_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _IOCTRL_TYPE_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IOCTRL_TYPE_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_device_is_compatible
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _IPROC_PINCONF_DRIVE_STRENGTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPROC_PINCONF_DRIVE_STRENGTH@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_BIT
	mov	x20, x0
	mov	w24, #1
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_device_is_compatible
	mov	w20, #0
	cmp	x0, #0
	cset	w24, eq
LBB0_3:
Lloh10:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x19
	mov	w1, #200
	bl	_devm_kzalloc
	cbz	x0, LBB0_24
; %bb.4:
	mov	x21, x0
	str	x19, [x0, #192]
	mov	x0, x19
	mov	x1, x21
	bl	_platform_set_drvdata
Lloh12:
	adrp	x23, _IORESOURCE_MEM@GOTPAGE
Lloh13:
	ldr	x23, [x23, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x21, #184]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x21, #184]
LBB0_6:
	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
	add	sp, sp, #96
	b	_PTR_ERR
LBB0_7:
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #1
	bl	_platform_get_resource
	cbz	x0, LBB0_14
; %bb.8:
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x21, #176]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x21, #176]
	b	LBB0_6
LBB0_10:
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_of_device_is_compatible
	cbz	x0, LBB0_12
; %bb.11:
Lloh20:
	adrp	x8, _IOCTRL_TYPE_CDRU@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IOCTRL_TYPE_CDRU@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh22:
	adrp	x8, _IOCTRL_TYPE_AON@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IOCTRL_TYPE_AON@GOTPAGEOFF]
LBB0_13:
	ldr	w22, [x8]
LBB0_14:
	str	w22, [x21]
	ldr	w0, [x19]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	bl	_of_property_read_u32
	cbz	x0, LBB0_16
; %bb.15:
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh28:
	adrp	x8, _ENODEV@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_25
LBB0_16:
	add	x0, x21, #168
	bl	_raw_spin_lock_init
	mov	w8, #-1
	mov	x22, x21
	str	w8, [x22, #72]!
	ldr	w8, [sp, #12]
Lloh30:
	adrp	x9, _NGPIOS_PER_BANK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _NGPIOS_PER_BANK@GOTPAGEOFF]
	str	w8, [x22, #4]
Lloh32:
	ldr	w9, [x9]
	add	w8, w8, w9
	sub	w8, w8, #1
	sdiv	w8, w8, w9
	stur	w8, [x22, #-68]
	mov	x0, x19
	bl	_dev_name
	str	w0, [x22, #88]
	str	x19, [x22, #80]
	ldr	w0, [x19]
Lloh33:
	adrp	x8, _iproc_gpio_request@GOTPAGE
Lloh34:
	ldr	x8, [x8, _iproc_gpio_request@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	stp	w8, w0, [x22, #72]
Lloh36:
	adrp	x8, _iproc_gpio_free@GOTPAGE
Lloh37:
	ldr	x8, [x8, _iproc_gpio_free@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _iproc_gpio_direction_input@GOTPAGE
Lloh40:
	ldr	x9, [x9, _iproc_gpio_direction_input@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #64]
Lloh42:
	adrp	x8, _iproc_gpio_direction_output@GOTPAGE
Lloh43:
	ldr	x8, [x8, _iproc_gpio_direction_output@GOTPAGEOFF]
Lloh44:
	adrp	x9, _iproc_gpio_get_direction@GOTPAGE
Lloh45:
	ldr	x9, [x9, _iproc_gpio_get_direction@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #56]
Lloh48:
	adrp	x8, _iproc_gpio_set@GOTPAGE
Lloh49:
	ldr	x8, [x8, _iproc_gpio_set@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
Lloh51:
	adrp	x9, _iproc_gpio_get@GOTPAGE
Lloh52:
	ldr	x9, [x9, _iproc_gpio_get@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #48]
Lloh54:
	adrp	x1, l_.str.6@PAGE
Lloh55:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_of_property_read_bool
	stur	w0, [x22, #-8]
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.17:
	mov	x23, x0
Lloh56:
	adrp	x8, l_.str.7@PAGE
Lloh57:
	add	x8, x8, l_.str.7@PAGEOFF
	mov	x26, x21
	str	x8, [x26, #8]!
Lloh58:
	adrp	x8, _iproc_gpio_irq_ack@GOTPAGE
Lloh59:
	ldr	x8, [x8, _iproc_gpio_irq_ack@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	str	w8, [x26, #48]
Lloh61:
	adrp	x8, _iproc_gpio_irq_mask@GOTPAGE
Lloh62:
	ldr	x8, [x8, _iproc_gpio_irq_mask@GOTPAGEOFF]
Lloh63:
	adrp	x9, _iproc_gpio_irq_unmask@GOTPAGE
Lloh64:
	ldr	x9, [x9, _iproc_gpio_irq_unmask@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
Lloh66:
	ldr	x9, [x9]
	stp	x9, x8, [x26, #32]
Lloh67:
	adrp	x10, _iproc_gpio_irq_set_type@GOTPAGE
Lloh68:
	ldr	x10, [x10, _iproc_gpio_irq_set_type@GOTPAGEOFF]
Lloh69:
	ldr	w10, [x10]
	str	w10, [x26, #24]
	stp	x8, x9, [x26, #8]
Lloh70:
	adrp	x8, _iproc_gpio_irq_handler@GOTPAGE
Lloh71:
	ldr	x8, [x8, _iproc_gpio_irq_handler@GOTPAGEOFF]
	str	x26, [x26, #104]
Lloh72:
	ldr	w8, [x8]
	str	w8, [x26, #96]
	mov	w8, #1
	str	w8, [x26, #72]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x26, #80]
	cbz	x0, LBB0_24
; %bb.18:
	str	w23, [x0]
Lloh73:
	adrp	x8, _IRQ_TYPE_NONE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _IRQ_TYPE_NONE@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
Lloh76:
	adrp	x9, _handle_simple_irq@GOTPAGE
Lloh77:
	ldr	x9, [x9, _handle_simple_irq@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #96]
LBB0_19:
	mov	x0, x22
	mov	x1, x21
	bl	_gpiochip_add_data
	tbnz	w0, #31, LBB0_27
; %bb.20:
	cbz	w24, LBB0_31
; %bb.21:
	mov	x0, x21
	bl	_iproc_gpio_register_pinconf
	cbz	w0, LBB0_28
; %bb.22:
	mov	x23, x0
Lloh79:
	adrp	x1, l_.str.9@PAGE
Lloh80:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_23:
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
	bl	_gpiochip_remove
	b	LBB0_26
LBB0_24:
Lloh81:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_25:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_26:
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
LBB0_27:
	mov	x23, x0
Lloh83:
	adrp	x1, l_.str.8@PAGE
Lloh84:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_26
LBB0_28:
	cbz	w20, LBB0_31
; %bb.29:
	mov	x0, x21
	mov	x1, x20
	bl	_iproc_pinconf_disable_map_create
	mov	x23, x0
	cbz	w0, LBB0_26
; %bb.30:
Lloh85:
	adrp	x1, l_.str.10@PAGE
Lloh86:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_23
LBB0_31:
	mov	w23, #0
	b	LBB0_26
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh65
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_IOCTRL_TYPE_INVALID,4,2        ; @IOCTRL_TYPE_INVALID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"brcm,iproc-nsp-gpio"

	.comm	_IPROC_PINCONF_DRIVE_STRENGTH,4,2 ; @IPROC_PINCONF_DRIVE_STRENGTH
l_.str.1:                               ; @.str.1
	.asciz	"brcm,iproc-stingray-gpio"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.2:                               ; @.str.2
	.asciz	"unable to map I/O memory\n"

l_.str.3:                               ; @.str.3
	.asciz	"brcm,cygnus-ccm-gpio"

	.comm	_IOCTRL_TYPE_CDRU,4,2           ; @IOCTRL_TYPE_CDRU
	.comm	_IOCTRL_TYPE_AON,4,2            ; @IOCTRL_TYPE_AON
l_.str.4:                               ; @.str.4
	.asciz	"ngpios"

l_.str.5:                               ; @.str.5
	.asciz	"missing ngpios DT property\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_NGPIOS_PER_BANK,4,2            ; @NGPIOS_PER_BANK
	.comm	_iproc_gpio_request,4,2         ; @iproc_gpio_request
	.comm	_iproc_gpio_free,4,2            ; @iproc_gpio_free
	.comm	_iproc_gpio_direction_input,4,2 ; @iproc_gpio_direction_input
	.comm	_iproc_gpio_direction_output,4,2 ; @iproc_gpio_direction_output
	.comm	_iproc_gpio_get_direction,4,2   ; @iproc_gpio_get_direction
	.comm	_iproc_gpio_set,4,2             ; @iproc_gpio_set
	.comm	_iproc_gpio_get,4,2             ; @iproc_gpio_get
l_.str.6:                               ; @.str.6
	.asciz	"gpio-ranges"

l_.str.7:                               ; @.str.7
	.asciz	"bcm-iproc-gpio"

	.comm	_iproc_gpio_irq_ack,4,2         ; @iproc_gpio_irq_ack
	.comm	_iproc_gpio_irq_mask,8,3        ; @iproc_gpio_irq_mask
	.comm	_iproc_gpio_irq_unmask,8,3      ; @iproc_gpio_irq_unmask
	.comm	_iproc_gpio_irq_set_type,4,2    ; @iproc_gpio_irq_set_type
	.comm	_iproc_gpio_irq_handler,4,2     ; @iproc_gpio_irq_handler
	.comm	_IRQ_TYPE_NONE,4,2              ; @IRQ_TYPE_NONE
	.comm	_handle_simple_irq,4,2          ; @handle_simple_irq
l_.str.8:                               ; @.str.8
	.asciz	"unable to add GPIO chip\n"

l_.str.9:                               ; @.str.9
	.asciz	"unable to register pinconf\n"

l_.str.10:                              ; @.str.10
	.asciz	"unable to create pinconf disable map\n"

	.no_dead_strip	_iproc_gpio_probe
.subsections_via_symbols
