	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinctrl_dt_to_map              ## -- Begin function pinctrl_dt_to_map
	.p2align	4, 0x90
_pinctrl_dt_to_map:                     ## @pinctrl_dt_to_map
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_1
## %bb.3:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_of_node_get
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_kasprintf
	movq	%rax, %r14
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_of_find_property
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_kfree
	testq	%r12, %r12
	je	LBB0_13
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rcx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	8(%r12), %r14
	sarl	$2, -44(%rbp)
	movq	%r15, %rdi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edx
	callq	_of_property_read_string_index
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rbx
	leaq	L_.str.3(%rip), %rdi
	callq	_strlen
	cltq
	addq	%rbx, %rax
	movq	%rax, -56(%rbp)
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %edi
	callq	_be32_to_cpup
	movl	%eax, %edi
	callq	_of_find_node_by_phandle
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%rax, %r15
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	%rax, %rcx
	callq	_dt_to_map_one_config
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_of_node_put
	testl	%r12d, %r12d
	js	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	%r13d
	movl	-44(%rbp), %eax
	addl	$4, %r14d
	cmpl	%eax, %r13d
	jl	LBB0_9
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	jne	LBB0_11
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dt_remember_dummy_state
	testl	%eax, %eax
	js	LBB0_18
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_kasprintf
	movq	%rax, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rax, %rsi
	leaq	-44(%rbp), %rdx
	callq	_of_find_property
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_kfree
	testq	%r12, %r12
	leaq	L_.str.2(%rip), %rsi
	leaq	-56(%rbp), %rcx
	jne	LBB0_5
## %bb.12:
	xorl	%r12d, %r12d
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_20
LBB0_13:
	movq	%r15, %rdi
	callq	_of_node_put
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_20
LBB0_1:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_of_have_populated_dt
	testq	%rax, %rax
	je	LBB0_20
## %bb.2:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	jmp	LBB0_20
LBB0_10:
	movq	(%rbx), %rdi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %ecx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_19:
	movq	%rbx, %rdi
	callq	_pinctrl_dt_free_maps
LBB0_20:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	%eax, %r12d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no of_node; not parsing pinctrl DT\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"pinctrl-%d"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"pinctrl-names"

L_.str.3:                               ## @.str.3
	.asciz	"pinctrl-"

L_.str.4:                               ## @.str.4
	.asciz	"prop %s index %i invalid phandle\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinctrl_dt_to_map              ; -- Begin function pinctrl_dt_to_map
	.p2align	2
_pinctrl_dt_to_map:                     ; @pinctrl_dt_to_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x8, [x0]
	ldr	x20, [x8]
	cbz	x20, LBB0_16
; %bb.1:
	mov	x21, x1
	mov	x0, x20
	bl	_of_node_get
Lloh0:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_kasprintf
	mov	x23, x0
	add	x2, sp, #20
	mov	x0, x20
	mov	x1, x23
	bl	_of_find_property
	mov	x27, x0
	mov	x0, x23
	bl	_kfree
	cbz	x27, LBB0_15
; %bb.2:
	mov	w23, #0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x28, [x27, #8]
	ldr	w8, [sp, #20]
	asr	w8, w8, #2
	str	w8, [sp, #20]
	add	x3, sp, #24
	mov	x0, x20
	mov	x22, x1
	mov	x2, x23
	bl	_of_property_read_string_index
	tbz	w0, #31, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x27]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_strlen
	add	x8, x24, w0, sxtw
	str	x8, [sp, #24]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #0
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x28
	bl	_be32_to_cpup
	bl	_of_find_node_by_phandle
	cbz	x0, LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x24, x0
	ldr	x2, [sp, #24]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x24
	bl	_dt_to_map_one_config
	mov	x26, x0
	mov	x0, x24
	bl	_of_node_put
	tbnz	w26, #31, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w25, w25, #1
	ldr	w8, [sp, #20]
	add	w28, w28, #4
	cmp	w25, w8
	b.lt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_dt_remember_dummy_state
	tbnz	w0, #31, LBB0_22
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	ldr	w0, [x25]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	bl	_kasprintf
	mov	x24, x0
	add	x2, sp, #20
	mov	x0, x20
	mov	x1, x24
	bl	_of_find_property
	mov	x27, x0
	mov	x0, x24
	bl	_kfree
	mov	x1, x22
	cbnz	x27, LBB0_3
; %bb.14:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbnz	x8, LBB0_18
LBB0_15:
	mov	x0, x20
	bl	_of_node_put
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_21
LBB0_16:
	bl	_of_have_populated_dt
	cbz	x0, LBB0_18
; %bb.17:
	ldr	x0, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_18:
	mov	w26, #0
	b	LBB0_21
LBB0_19:
	ldr	x0, [x19]
	ldr	x2, [x27]
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x3, x25
	bl	_dev_err
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w26, w8
LBB0_20:
	mov	x0, x19
	bl	_pinctrl_dt_free_maps
LBB0_21:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
	mov	x26, x0
	b	LBB0_20
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no of_node; not parsing pinctrl DT\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"pinctrl-%d"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"pinctrl-names"

l_.str.3:                               ; @.str.3
	.asciz	"pinctrl-"

l_.str.4:                               ; @.str.4
	.asciz	"prop %s index %i invalid phandle\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
