	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rzn1_pinctrl_probe
_rzn1_pinctrl_probe:                    ## @rzn1_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	(%rax), %rax
	movq	$-1, (%rax)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movl	$1024, %ebx                     ## imm = 0x400
	movq	(%rax), %rcx
	addq	%rbx, %rcx
	movq	%rcx, 56(%r13)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 48(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	48(%r13), %rdi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_17:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_platform_get_resource
	addq	(%rax), %rbx
	movq	%rbx, 40(%r13)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 32(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	32(%r13), %rdi
	jmp	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 8(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	8(%r13), %rdi
	testq	%rax, %rax
	je	LBB0_8
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_8:
	callq	_clk_prepare_enable
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.9:
	movq	%r14, 24(%r13)
	movq	%r14, %rdi
	callq	_dev_name
	movq	_rzn1_pinctrl_desc@GOTPCREL(%rip), %rbx
	movl	%eax, 8(%rbx)
	movq	_rzn1_pins@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_rzn1_pinctrl_probe_dt
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_11
LBB0_13:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %r12
	addq	$16, %r12
	movq	_rzn1_pinctrl_desc@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_devm_pinctrl_register_and_init
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
LBB0_11:
	movq	%r14, %rdi
	callq	_dev_err
LBB0_12:
	movq	8(%r13), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_17
LBB0_15:
	movl	(%r12), %edi
	callq	_pinctrl_enable
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.16:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%r15d, %r15d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_rzn1_pinctrl_desc,12,2         ## @rzn1_pinctrl_desc
	.comm	_rzn1_pins,4,2                  ## @rzn1_pins
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fail to probe dt properties\n"

L_.str.1:                               ## @.str.1
	.asciz	"could not register rzn1 pinctrl driver\n"

L_.str.2:                               ## @.str.2
	.asciz	"probed\n"

	.no_dead_strip	_rzn1_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rzn1_pinctrl_probe
_rzn1_pinctrl_probe:                    ; @rzn1_pinctrl_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x8]
Lloh3:
	adrp	x21, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IORESOURCE_MEM@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	ldr	x8, [x0]
	add	x8, x8, #1024
	str	x8, [x20, #56]
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x20, #48]
	b	LBB0_8
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	bl	_platform_get_resource
	mov	x1, x0
	ldr	x8, [x0]
	add	x8, x8, #1024
	str	x8, [x20, #40]
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x20, #32]
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #8]
	cbz	x8, LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_9:
	bl	_clk_prepare_enable
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.10:
	str	x19, [x20, #24]
	mov	x0, x19
	bl	_dev_name
Lloh8:
	adrp	x21, _rzn1_pinctrl_desc@GOTPAGE
Lloh9:
	ldr	x21, [x21, _rzn1_pinctrl_desc@GOTPAGEOFF]
Lloh10:
	adrp	x8, _rzn1_pins@GOTPAGE
Lloh11:
	ldr	x8, [x8, _rzn1_pins@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #4]
	mov	x0, x8
	bl	_ARRAY_SIZE
	str	w0, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_rzn1_pinctrl_probe_dt
	cbz	w0, LBB0_12
; %bb.11:
	mov	x21, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	add	x22, x20, #16
Lloh15:
	adrp	x1, _rzn1_pinctrl_desc@GOTPAGE
Lloh16:
	ldr	x1, [x1, _rzn1_pinctrl_desc@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x22
	bl	_devm_pinctrl_register_and_init
	cbz	w0, LBB0_16
; %bb.13:
	mov	x21, x0
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_dev_err
LBB0_15:
	ldr	x0, [x20, #8]
	bl	_clk_disable_unprepare
	b	LBB0_4
LBB0_16:
	ldr	w0, [x22]
	bl	_pinctrl_enable
	mov	x21, x0
	cbnz	w0, LBB0_15
; %bb.17:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_rzn1_pinctrl_desc,12,2         ; @rzn1_pinctrl_desc
	.comm	_rzn1_pins,4,2                  ; @rzn1_pins
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fail to probe dt properties\n"

l_.str.1:                               ; @.str.1
	.asciz	"could not register rzn1 pinctrl driver\n"

l_.str.2:                               ; @.str.2
	.asciz	"probed\n"

	.no_dead_strip	_rzn1_pinctrl_probe
.subsections_via_symbols
