	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function abx500_gpio_probe
_abx500_gpio_probe:                     ## @abx500_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
	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
	cmpq	$0, 8(%rdi)
	je	LBB0_6
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r14
	movq	%r15, 40(%rax)
	movl	(%r15), %edi
	callq	_dev_get_drvdata
	movl	%eax, 36(%r14)
	movq	_abx500gpio_chip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r15, 8(%r14)
	movl	$-1, (%r14)
	movq	_abx500_gpio_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	(%rax), %edx
	cmpl	$128, %edx
	je	LBB0_10
## %bb.4:
	cmpl	$129, %edx
	jne	LBB0_14
## %bb.5:
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_abx500_pinctrl_ab8500_init
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_10:
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_abx500_pinctrl_ab8505_init
LBB0_11:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.12:
	callq	_abx500_get_gpio_num
	movl	%eax, 4(%r14)
	movq	16(%r14), %rax
	movl	28(%rax), %ecx
	movl	%ecx, 32(%r14)
	movl	24(%rax), %eax
	movl	%eax, 28(%r14)
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_gpiochip_add_data
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_18
LBB0_14:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_17:
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	movq	16(%r14), %rax
	movl	20(%rax), %ecx
	movq	_abx500_pinctrl_desc@GOTPCREL(%rip), %rsi
	movl	%ecx, 4(%rsi)
	movl	16(%rax), %eax
	movl	%eax, (%rsi)
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 24(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	24(%r14), %edi
	callq	_PTR_ERR
LBB0_21:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_gpiochip_remove
	jmp	LBB0_18
LBB0_22:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	movq	16(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_26
## %bb.23:
	movl	$8, %r12d
	xorl	%r13d, %r13d
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rbx
	movq	%r15, %rdi
	callq	_dev_name
	movq	(%rbx,%r12), %rcx
	leaq	-1(%rcx), %rdx
	movl	-8(%rbx,%r12), %r8d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_gpiochip_add_pin_range
	testl	%eax, %eax
	js	LBB0_21
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	incq	%r13
	movq	16(%r14), %rax
	movslq	(%rax), %rcx
	addq	$16, %r12
	cmpq	%rcx, %r13
	jl	LBB0_24
LBB0_26:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gpio dt node missing\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_abx500gpio_chip,16,3           ## @abx500gpio_chip
	.comm	_abx500_gpio_match,4,2          ## @abx500_gpio_match
L_.str.1:                               ## @.str.1
	.asciz	"gpio dt not matching\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unsupported pinctrl sub driver (%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"Invalid SOC data\n"

L_.str.4:                               ## @.str.4
	.asciz	"unable to add gpiochip: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"added gpiochip\n"

	.comm	_abx500_pinctrl_desc,8,2        ## @abx500_pinctrl_desc
L_.str.6:                               ## @.str.6
	.asciz	"could not register abx500 pinctrl driver\n"

L_.str.7:                               ## @.str.7
	.asciz	"registered pin controller\n"

L_.str.8:                               ## @.str.8
	.asciz	"initialized abx500 pinctrl driver\n"

	.no_dead_strip	_abx500_gpio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function abx500_gpio_probe
_abx500_gpio_probe:                     ; @abx500_gpio_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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
	str	x19, [x0, #40]
	ldr	w0, [x19]
	bl	_dev_get_drvdata
	str	w0, [x20, #36]
Lloh3:
	adrp	x8, _abx500gpio_chip@GOTPAGE
Lloh4:
	ldr	x8, [x8, _abx500gpio_chip@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x19, [x20]
	mov	w8, #-1
	str	w8, [x20]
Lloh6:
	adrp	x8, _abx500_gpio_match@GOTPAGE
Lloh7:
	ldr	x8, [x8, _abx500_gpio_match@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_10
; %bb.3:
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_14
; %bb.5:
	add	x0, x20, #16
	bl	_abx500_pinctrl_ab8500_init
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_13
LBB0_6:
	bl	_abx500_get_gpio_num
	str	w0, [x20, #4]
	ldr	x8, [x20, #16]
	ldr	d0, [x8, #24]
	stur	d0, [x20, #28]
	mov	x0, x20
	mov	x1, x20
	bl	_gpiochip_add_data
	cbz	w0, LBB0_18
; %bb.7:
	mov	x21, x0
	str	x21, [sp]
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_17
LBB0_8:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dev_err
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
	add	x0, x20, #16
	bl	_abx500_pinctrl_ab8505_init
	ldr	x0, [x20, #16]
	cbnz	x0, LBB0_6
LBB0_13:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_14:
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_15:
	mov	x0, x19
	bl	_dev_err
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_17:
	mov	x0, x21
	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_18:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	x8, [x20, #16]
	ldr	d0, [x8, #16]
Lloh27:
	adrp	x1, _abx500_pinctrl_desc@GOTPAGE
Lloh28:
	ldr	x1, [x1, _abx500_pinctrl_desc@GOTPAGEOFF]
	str	d0, [x1]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_21
; %bb.19:
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #24]
	bl	_PTR_ERR
LBB0_20:
	mov	x21, x0
	mov	x0, x20
	bl	_gpiochip_remove
	b	LBB0_17
LBB0_21:
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_25
; %bb.22:
	mov	x22, #0
	mov	x23, #0
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x8, #8]
	mov	x0, x19
	bl	_dev_name
	mov	x1, x0
	add	x8, x21, x22
	ldr	x3, [x8, #8]
	sub	x2, x3, #1
	ldr	w4, [x8]
	mov	x0, x20
	bl	_gpiochip_add_pin_range
	tbnz	w0, #31, LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20, #16]
	ldrsw	x9, [x8]
	add	x22, x22, #16
	cmp	x23, x9
	b.lt	LBB0_23
LBB0_25:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w21, #0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gpio dt node missing\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_abx500gpio_chip,16,3           ; @abx500gpio_chip
	.comm	_abx500_gpio_match,4,2          ; @abx500_gpio_match
l_.str.1:                               ; @.str.1
	.asciz	"gpio dt not matching\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unsupported pinctrl sub driver (%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"Invalid SOC data\n"

l_.str.4:                               ; @.str.4
	.asciz	"unable to add gpiochip: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"added gpiochip\n"

	.comm	_abx500_pinctrl_desc,8,2        ; @abx500_pinctrl_desc
l_.str.6:                               ; @.str.6
	.asciz	"could not register abx500 pinctrl driver\n"

l_.str.7:                               ; @.str.7
	.asciz	"registered pin controller\n"

l_.str.8:                               ; @.str.8
	.asciz	"initialized abx500 pinctrl driver\n"

	.no_dead_strip	_abx500_gpio_probe
.subsections_via_symbols
