	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_mux_pinctrl_probe
_i2c_mux_pinctrl_probe:                 ## @i2c_mux_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_of_property_count_strings
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_i2c_mux_pinctrl_parent_adapter
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r15d, %r12d
	jmp	LBB0_13
LBB0_4:
	movq	_states@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_struct_size
	movq	_i2c_mux_pinctrl_select@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	$0, (%rsp)
	xorl	%r12d, %r12d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_i2c_mux_alloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_i2c_mux_priv
	movq	%rax, %r12
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	callq	_devm_pinctrl_get
	movq	%rax, 8(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movq	8(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
LBB0_7:
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	subl	(%rax), %r12d
LBB0_11:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_12:
	movq	%r14, %rdi
	callq	_i2c_put_adapter
LBB0_13:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	je	LBB0_22
## %bb.15:
	leal	-1(%r15), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r14
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_31
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	leaq	-64(%rbp), %rcx
	callq	_of_property_read_string_index
	testl	%eax, %eax
	js	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %r12
	movq	8(%rbx), %rdi
	movq	-64(%rbp), %rsi
	callq	_pinctrl_lookup_state
	movq	(%rbx), %rcx
	movq	%rax, (%rcx,%r14,8)
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_30
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-64(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	%r14, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_37
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_i2c_mux_pinctrl_deselect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx)
	jmp	LBB0_16
LBB0_22:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	callq	_i2c_root_adapter
	movl	$1, (%rbx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_23:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_info
LBB0_24:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	cmpl	$1, 4(%r13)
	movl	%r15d, %eax
	adcl	$-1, %eax
	testl	%eax, %eax
	jle	LBB0_28
## %bb.25:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_i2c_mux_add_adapter
	testl	%eax, %eax
	jne	LBB0_35
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	incl	%ebx
	cmpl	$1, 4(%r13)
	movl	%r15d, %eax
	adcl	$-1, %eax
	xorl	%r12d, %r12d
	cmpl	%eax, %ebx
	jl	LBB0_26
	jmp	LBB0_13
LBB0_28:
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_29:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_30:
	movq	(%r12), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	-64(%rbp), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
LBB0_31:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	callq	_i2c_root_adapter
	movq	%rax, %r14
	movl	$1, (%rbx)
	xorl	%ebx, %ebx
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_i2c_mux_pinctrl_root_adapter
	cmpq	%rax, %r14
	jne	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	incq	%rbx
	cmpq	%rbx, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_32
## %bb.34:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_23
	jmp	LBB0_24
LBB0_35:
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_i2c_mux_del_adapters
	jmp	LBB0_12
LBB0_36:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_37:
	leaq	L_.str.5(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pinctrl-names"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot parse pinctrl-names: %d\n"

	.comm	_states,4,2                     ## @states
	.comm	_i2c_mux_pinctrl_select,4,2     ## @i2c_mux_pinctrl_select
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Cannot get pinctrl: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot look up pinctrl state %s: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"idle"

L_.str.5:                               ## @.str.5
	.asciz	"idle state must be last\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_i2c_mux_pinctrl_deselect,4,2   ## @i2c_mux_pinctrl_deselect
L_.str.6:                               ## @.str.6
	.asciz	"mux-locked i2c mux\n"

	.no_dead_strip	_i2c_mux_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_mux_pinctrl_probe
_i2c_mux_pinctrl_probe:                 ; @i2c_mux_pinctrl_probe
	.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	x21, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_of_property_count_strings
	mov	x20, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_i2c_mux_pinctrl_parent_adapter
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	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
	b	_PTR_ERR
LBB0_3:
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	mov	x23, x20
	b	LBB0_10
LBB0_4:
Lloh4:
	adrp	x8, _states@GOTPAGE
Lloh5:
	ldr	x8, [x8, _states@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_struct_size
	mov	x3, x0
Lloh7:
	adrp	x8, _i2c_mux_pinctrl_select@GOTPAGE
Lloh8:
	ldr	x8, [x8, _i2c_mux_pinctrl_select@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w4, #0
	mov	x6, #0
	bl	_i2c_mux_alloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x22, x0
	bl	_i2c_mux_priv
	mov	x24, x0
	mov	x0, x21
	mov	x1, x22
	bl	_platform_set_drvdata
	mov	x0, x21
	bl	_devm_pinctrl_get
	str	x0, [x24, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x0, [x24, #8]
	bl	_PTR_ERR
	mov	x23, x0
	str	x23, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_9:
	mov	x0, x19
	bl	_i2c_put_adapter
LBB0_10:
	mov	x0, x23
	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_11:
	cbz	w20, LBB0_19
; %bb.12:
	mov	x25, #0
	sub	w8, w20, #1
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	w27, w20
Lloh14:
	adrp	x26, l_.str@PAGE
Lloh15:
	add	x26, x26, l_.str@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x25, x25, #1
	cmp	x27, x25
	b.eq	LBB0_28
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #24
	mov	x0, x23
	mov	x1, x26
	mov	x2, x25
	bl	_of_property_read_string_index
	tbnz	w0, #31, LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x24, #8]
	ldr	x1, [sp, #24]
	bl	_pinctrl_lookup_state
	ldr	x8, [x24]
	lsl	x9, x25, #3
	str	x0, [x8, x9]
	ldr	x8, [x24]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbnz	x0, LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #24]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x8, x25
	b.ne	LBB0_34
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh18:
	adrp	x8, _i2c_mux_pinctrl_deselect@GOTPAGE
Lloh19:
	ldr	x8, [x8, _i2c_mux_pinctrl_deselect@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x22, #4]
	b	LBB0_13
LBB0_19:
	ldr	x0, [x22, #8]
	bl	_i2c_root_adapter
	mov	w8, #1
	str	w8, [x22]
LBB0_20:
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_dev_info
LBB0_21:
	ldr	w8, [x22, #4]
	cmp	w8, #0
	cset	w8, ne
	sub	w8, w20, w8
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.22:
	mov	w21, #0
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	mov	w3, #0
	bl	_i2c_mux_add_adapter
	mov	x23, x0
	cbnz	w0, LBB0_32
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	w21, w21, #1
	ldr	w8, [x22, #4]
	cmp	w8, #0
	cset	w8, ne
	sub	w8, w20, w8
	cmp	w21, w8
	b.lt	LBB0_23
	b	LBB0_10
LBB0_25:
	mov	w23, #0
	b	LBB0_10
LBB0_26:
	mov	x28, x0
	str	x28, [sp]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	mov	x23, x28
	b	LBB0_9
LBB0_27:
	ldr	x8, [x24]
	ldr	x0, [x8, x25, lsl #3]
	bl	_PTR_ERR
	mov	x23, x0
	ldr	x8, [sp, #24]
	stp	x8, x23, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_err
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_9
LBB0_28:
	ldr	x0, [x22, #8]
	bl	_i2c_root_adapter
	mov	x23, x0
	mov	x25, #0
	mov	w8, #1
	str	w8, [x22]
	lsl	x26, x27, #3
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x0, [x8, x25]
	bl	_i2c_mux_pinctrl_root_adapter
	cmp	x23, x0
	b.ne	LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	add	x25, x25, #8
	cmp	x26, x25
	b.ne	LBB0_29
; %bb.31:
	ldr	w8, [x22]
	cbnz	w8, LBB0_20
	b	LBB0_21
LBB0_32:
	mov	x0, x22
	bl	_i2c_mux_del_adapters
	b	LBB0_9
LBB0_33:
	str	wzr, [x22]
	b	LBB0_21
LBB0_34:
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pinctrl-names"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot parse pinctrl-names: %d\n"

	.comm	_states,4,2                     ; @states
	.comm	_i2c_mux_pinctrl_select,4,2     ; @i2c_mux_pinctrl_select
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Cannot get pinctrl: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot look up pinctrl state %s: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"idle"

l_.str.5:                               ; @.str.5
	.asciz	"idle state must be last\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_i2c_mux_pinctrl_deselect,4,2   ; @i2c_mux_pinctrl_deselect
l_.str.6:                               ; @.str.6
	.asciz	"mux-locked i2c mux\n"

	.no_dead_strip	_i2c_mux_pinctrl_probe
.subsections_via_symbols
