	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function palmas_pinctrl_probe
_palmas_pinctrl_probe:                  ## @palmas_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
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movq	%rax, %r12
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_of_property_read_bool
	movl	%eax, %r15d
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_of_property_read_bool
	movl	%eax, %r13d
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
	movq	_tps65913_pinctrl_data@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r14, 56(%rax)
	movl	(%r14), %edi
	callq	_dev_get_drvdata
	movl	%eax, 48(%rbx)
	movq	_palmas_pins_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 40(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 32(%rbx)
	movq	_palmas_pin_function@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, 16(%rbx)
	movl	4(%r12), %eax
	movl	%eax, 8(%rbx)
	movl	(%r12), %eax
	movl	%eax, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_palmas_pinctrl_set_dvfs1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_palmas_pinctrl_set_dvfs2
	movq	%rbx, %rdi
	callq	_palmas_pinctrl_get_pin_mux
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	callq	_dev_name
	movq	_palmas_pinctrl_desc@GOTPCREL(%rip), %r15
	movl	%eax, 16(%r15)
	movq	_palmas_pins_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 8(%r15)
	callq	_ARRAY_SIZE
	movq	%rax, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_9
LBB0_6:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_9
LBB0_8:
	xorl	%r15d, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tps65913_pinctrl_data,8,2      ## @tps65913_pinctrl_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ti,palmas-enable-dvfs1"

L_.str.1:                               ## @.str.1
	.asciz	"ti,palmas-enable-dvfs2"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_palmas_pins_desc,8,3           ## @palmas_pins_desc
	.comm	_palmas_pin_function,8,3        ## @palmas_pin_function
L_.str.2:                               ## @.str.2
	.asciz	"Reading pinctrol option register failed: %d\n"

	.comm	_palmas_pinctrl_desc,24,3       ## @palmas_pinctrl_desc
L_.str.3:                               ## @.str.3
	.asciz	"Couldn't register pinctrl driver\n"

	.no_dead_strip	_palmas_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function palmas_pinctrl_probe
_palmas_pinctrl_probe:                  ; @palmas_pinctrl_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_2
; %bb.1:
	mov	x0, x19
	bl	_of_device_get_match_data
	mov	x22, x0
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_property_read_bool
	mov	x21, x0
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_property_read_bool
	mov	x23, x0
	b	LBB0_3
LBB0_2:
	mov	w21, #0
	mov	w23, #0
Lloh4:
	adrp	x22, _tps65913_pinctrl_data@GOTPAGE
Lloh5:
	ldr	x22, [x22, _tps65913_pinctrl_data@GOTPAGEOFF]
LBB0_3:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	str	x19, [x0, #56]
	ldr	w0, [x19]
	bl	_dev_get_drvdata
	str	w0, [x20, #48]
Lloh9:
	adrp	x24, _palmas_pins_desc@GOTPAGE
Lloh10:
	ldr	x24, [x24, _palmas_pins_desc@GOTPAGEOFF]
	ldr	x0, [x24]
	str	x0, [x20, #40]
	bl	_ARRAY_SIZE
Lloh11:
	adrp	x8, _palmas_pin_function@GOTPAGE
Lloh12:
	ldr	x8, [x8, _palmas_pin_function@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #24]
	mov	x0, x8
	bl	_ARRAY_SIZE
	str	x0, [x20, #16]
	ldr	d0, [x22]
	stur	d0, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x20
	mov	x1, x21
	bl	_palmas_pinctrl_set_dvfs1
	mov	x0, x20
	mov	x1, x23
	bl	_palmas_pinctrl_set_dvfs2
	mov	x0, x20
	bl	_palmas_pinctrl_get_pin_mux
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_dev_name
Lloh14:
	adrp	x21, _palmas_pinctrl_desc@GOTPAGE
Lloh15:
	ldr	x21, [x21, _palmas_pinctrl_desc@GOTPAGEOFF]
	str	w0, [x21, #16]
	ldr	x0, [x24]
	str	x0, [x21, #8]
	bl	_ARRAY_SIZE
	str	x0, [x21]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.6:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [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
	b	_PTR_ERR
LBB0_7:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_10
LBB0_8:
	mov	x21, x0
	str	x21, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_9:
	mov	w21, #0
LBB0_10:
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_tps65913_pinctrl_data,8,2      ; @tps65913_pinctrl_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ti,palmas-enable-dvfs1"

l_.str.1:                               ; @.str.1
	.asciz	"ti,palmas-enable-dvfs2"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_palmas_pins_desc,8,3           ; @palmas_pins_desc
	.comm	_palmas_pin_function,8,3        ; @palmas_pin_function
l_.str.2:                               ; @.str.2
	.asciz	"Reading pinctrol option register failed: %d\n"

	.comm	_palmas_pinctrl_desc,24,3       ; @palmas_pinctrl_desc
l_.str.3:                               ; @.str.3
	.asciz	"Couldn't register pinctrl driver\n"

	.no_dead_strip	_palmas_pinctrl_probe
.subsections_via_symbols
