	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zx_pinctrl_init                ## -- Begin function zx_pinctrl_init
	.p2align	4, 0x90
_zx_pinctrl_init:                       ## @zx_pinctrl_init
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$32, %rdi
	callq	_spin_lock_init
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 28(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	28(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_of_parse_phandle
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %r13
	xorl	%r12d, %r12d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_of_iomap
	movl	%eax, 24(%rbx)
	movq	%r13, %rdi
	callq	_of_node_put
	cmpl	$0, 24(%rbx)
	je	LBB0_12
## %bb.5:
	movq	%r14, 16(%rbx)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, 8(%rbx)
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 36(%r12)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movl	4(%r13), %eax
	movl	%eax, 28(%r12)
	movl	(%r13), %eax
	movl	%eax, 24(%r12)
	movq	_zx_pinctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r12)
	movq	_zx_pinmux_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r12)
	movq	_zx_pinconf_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_15
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_9:
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	callq	_zx_pinctrl_build_state
	testl	%eax, %eax
	je	LBB0_17
## %bb.14:
	movl	%eax, %r12d
	leaq	L_.str.3(%rip), %rsi
LBB0_15:
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_10
LBB0_17:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%r12d, %r12d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zte,auxiliary-controller"

L_.str.1:                               ## @.str.1
	.asciz	"failed to find auxiliary controller\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_zx_pinctrl_ops,4,2             ## @zx_pinctrl_ops
	.comm	_zx_pinmux_ops,4,2              ## @zx_pinmux_ops
	.comm	_zx_pinconf_ops,4,2             ## @zx_pinconf_ops
L_.str.2:                               ## @.str.2
	.asciz	"failed to register pinctrl: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to build state: %d\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zx_pinctrl_init                ; -- Begin function zx_pinctrl_init
	.p2align	2
_zx_pinctrl_init:                       ; @zx_pinctrl_init
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	add	x0, x0, #32
	bl	_spin_lock_init
Lloh2:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20, #28]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #28]
	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
	b	_PTR_ERR
LBB0_3:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_of_parse_phandle
	cbz	x0, LBB0_11
; %bb.4:
	mov	x22, x0
	mov	w1, #0
	bl	_of_iomap
	str	w0, [x20, #24]
	mov	x0, x22
	bl	_of_node_put
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_8
; %bb.5:
	stp	x21, x19, [x20, #8]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
	mov	x0, x19
	bl	_dev_name
Lloh7:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	stp	w8, w0, [x22, #32]
	ldr	d0, [x21]
	str	d0, [x22, #24]
Lloh10:
	adrp	x8, _zx_pinctrl_ops@GOTPAGE
Lloh11:
	ldr	x8, [x8, _zx_pinctrl_ops@GOTPAGEOFF]
	str	x8, [x22, #16]
Lloh12:
	adrp	x8, _zx_pinmux_ops@GOTPAGE
Lloh13:
	ldr	x8, [x8, _zx_pinmux_ops@GOTPAGEOFF]
Lloh14:
	adrp	x9, _zx_pinconf_ops@GOTPAGE
Lloh15:
	ldr	x9, [x9, _zx_pinconf_ops@GOTPAGEOFF]
	stp	x9, x8, [x22]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w0, [x20]
	bl	_PTR_ERR
	mov	x20, x0
	str	x20, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_8:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_10:
	mov	x0, x20
	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_11:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_zx_pinctrl_build_state
	mov	x20, x0
	cbz	w0, LBB0_14
; %bb.13:
	str	x20, [sp]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	b	LBB0_10
LBB0_14:
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zte,auxiliary-controller"

l_.str.1:                               ; @.str.1
	.asciz	"failed to find auxiliary controller\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_zx_pinctrl_ops,4,2             ; @zx_pinctrl_ops
	.comm	_zx_pinmux_ops,4,2              ; @zx_pinmux_ops
	.comm	_zx_pinconf_ops,4,2             ; @zx_pinconf_ops
l_.str.2:                               ; @.str.2
	.asciz	"failed to register pinctrl: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to build state: %d\n"

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

.subsections_via_symbols
