	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ns_pinctrl_probe
_ns_pinctrl_probe:                      ## @ns_pinctrl_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, %r15
	movq	(%rdi), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r15, 48(%r13)
	movq	_ns_pinctrl_of_match_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movq	%rbx, %rdi
	callq	_of_get_parent
	movl	%eax, %edi
	callq	_syscon_node_to_regmap
	movl	%eax, 44(%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	44(%r13), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_25
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_5:
	leaq	40(%r13), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_7:
	movq	%r13, %rdi
	addq	$56, %rdi
	movq	_ns_pinctrl_desc@GOTPCREL(%rip), %rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$16, %edx
	callq	_memcpy
	movq	_ns_pinctrl_pins@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	(%r14), %ecx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$16, %edx
	callq	_devm_kcalloc
	movq	%rax, 64(%r13)
	testq	%rax, %rax
	je	LBB0_22
## %bb.8:
	movq	%rax, %r14
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_13
## %bb.9:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movq	%rsi, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r15
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	movl	8(%rsi,%r15), %eax
	testl	%eax, (%r13)
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	%r15, %rsi
	movq	%r14, %rdi
	addq	$16, %r14
	movl	$16, %edx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	(%r12), %rsi
	jmp	LBB0_10
LBB0_13:
	movq	_ns_pinctrl_groups@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	$16, %edx
	callq	_devm_kcalloc
	movq	%rax, 32(%r13)
	testq	%rax, %rax
	je	LBB0_22
## %bb.14:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_19
## %bb.15:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r15
	movq	%rsi, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r15
	jge	LBB0_19
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	_ns_pinctrl_groups@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movslq	(%rsi,%rbx), %rax
	testq	%rax, (%r13)
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	addq	%rbx, %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	16(%rdi), %r14
	movl	$16, %edx
	callq	_memcpy
	incl	24(%r13)
	movq	(%r12), %rsi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	jmp	LBB0_16
LBB0_19:
	movq	_ns_pinctrl_functions@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movl	(%r14), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	$16, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	%rax, %r12
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_29
## %bb.21:
	movq	%rbx, %r14
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_27
LBB0_22:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_23:
	xorl	%ebx, %ebx
LBB0_24:
	subl	(%rax), %ebx
LBB0_25:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	incq	%r15
	movq	%rsi, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r15
	jge	LBB0_29
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rsi
	movslq	(%rsi,%rbx), %rax
	testq	%rax, (%r13)
	je	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	addq	%rbx, %rsi
	movq	%r12, %rdi
	addq	$16, %r12
	movl	$16, %edx
	callq	_memcpy
	incl	12(%r13)
	movq	(%r14), %rsi
	jmp	LBB0_26
LBB0_29:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 8(%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	8(%r13), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_31:
	xorl	%ebx, %ebx
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ns_pinctrl_of_match_table,4,2  ## @ns_pinctrl_of_match_table
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to map pinctrl regs: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"offset"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to get register offset\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ns_pinctrl_desc,16,3           ## @ns_pinctrl_desc
	.comm	_ns_pinctrl_pins,8,3            ## @ns_pinctrl_pins
	.comm	_ns_pinctrl_groups,8,3          ## @ns_pinctrl_groups
	.comm	_ns_pinctrl_functions,8,3       ## @ns_pinctrl_functions
L_.str.3:                               ## @.str.3
	.asciz	"Failed to register pinctrl\n"

	.no_dead_strip	_ns_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ns_pinctrl_probe
_ns_pinctrl_probe:                      ; @ns_pinctrl_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_22
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	str	x19, [x20, #48]
Lloh2:
	adrp	x8, _ns_pinctrl_of_match_table@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ns_pinctrl_of_match_table@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	str	x8, [x20]
	mov	x0, x21
	bl	_of_get_parent
	bl	_syscon_node_to_regmap
	str	w0, [x20, #44]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x20, #44]
	bl	_PTR_ERR
	mov	x20, x0
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_24
LBB0_4:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_23
LBB0_5:
	add	x2, x20, #40
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_u32
	cbz	x0, LBB0_7
; %bb.6:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_23
LBB0_7:
	add	x21, x20, #56
Lloh15:
	adrp	x1, _ns_pinctrl_desc@GOTPAGE
Lloh16:
	ldr	x1, [x1, _ns_pinctrl_desc@GOTPAGEOFF]
	mov	x0, x21
	mov	w2, #16
	bl	_memcpy
Lloh17:
	adrp	x24, _ns_pinctrl_pins@GOTPAGE
Lloh18:
	ldr	x24, [x24, _ns_pinctrl_pins@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kcalloc
	str	x0, [x20, #64]
	cbz	x0, LBB0_22
; %bb.8:
	mov	x22, x0
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.9:
	mov	x25, #0
	mov	x26, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x26, x26, #1
	bl	_ARRAY_SIZE
	add	x25, x25, #16
	cmp	x26, w0, sxtw
	b.ge	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	add	x1, x0, x25
	ldr	w8, [x1, #8]
	ldr	w9, [x20]
	tst	w8, w9
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x27, x22, #16
	mov	x0, x22
	mov	w2, #16
	bl	_memcpy
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	x0, [x24]
	mov	x22, x27
	b	LBB0_10
LBB0_13:
Lloh19:
	adrp	x24, _ns_pinctrl_groups@GOTPAGE
Lloh20:
	ldr	x24, [x24, _ns_pinctrl_groups@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kcalloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_22
; %bb.14:
	mov	x22, x0
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.15:
	mov	x25, #0
	mov	x26, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x26, x26, #1
	bl	_ARRAY_SIZE
	add	x25, x25, #16
	cmp	x26, w0, sxtw
	b.ge	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	add	x1, x0, x25
	ldrsw	x8, [x1]
	ldr	x9, [x20]
	tst	x9, x8
	b.eq	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x27, x22, #16
	mov	x0, x22
	mov	w2, #16
	bl	_memcpy
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
	ldr	x0, [x24]
	mov	x22, x27
	b	LBB0_16
LBB0_19:
Lloh21:
	adrp	x24, _ns_pinctrl_functions@GOTPAGE
Lloh22:
	ldr	x24, [x24, _ns_pinctrl_functions@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kcalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_22
; %bb.20:
	mov	x22, x0
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_28
; %bb.21:
	mov	x23, #0
	mov	x25, #0
	b	LBB0_26
LBB0_22:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_23:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_24:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #16
	cmp	x25, w0, sxtw
	b.ge	LBB0_28
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	add	x1, x0, x23
	ldrsw	x8, [x1]
	ldr	x9, [x20]
	tst	x9, x8
	b.eq	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x26, x22, #16
	mov	x0, x22
	mov	w2, #16
	bl	_memcpy
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	ldr	x0, [x24]
	mov	x22, x26
	b	LBB0_25
LBB0_28:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_30
; %bb.29:
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PTR_ERR
LBB0_30:
	mov	w20, #0
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ns_pinctrl_of_match_table,4,2  ; @ns_pinctrl_of_match_table
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to map pinctrl regs: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"offset"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to get register offset\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ns_pinctrl_desc,16,3           ; @ns_pinctrl_desc
	.comm	_ns_pinctrl_pins,8,3            ; @ns_pinctrl_pins
	.comm	_ns_pinctrl_groups,8,3          ; @ns_pinctrl_groups
	.comm	_ns_pinctrl_functions,8,3       ; @ns_pinctrl_functions
l_.str.3:                               ; @.str.3
	.asciz	"Failed to register pinctrl\n"

	.no_dead_strip	_ns_pinctrl_probe
.subsections_via_symbols
