	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sta2x11_mfd_platform_probe
_sta2x11_mfd_platform_probe:            ## @sta2x11_mfd_platform_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_sta2x11_mfd_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %r14d
	movq	(%rax,%r14,8), %r12
	movq	_sta2x11_mfd_regmap_configs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rbx
	callq	_dev_get_platdata
	movq	(%rax), %rdi
	callq	_sta2x11_mfd_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	%rax, %r13
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %rbx
	movl	(%rax), %r12d
	movq	%rax, %rdi
	callq	_resource_size
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_request_mem_region
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movl	(%rbx), %r12d
	movq	%rbx, %rdi
	callq	_resource_size
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ioremap
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%r14,4)
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movq	%r13, %rax
	addq	$16, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, 8(%rdx)
	movq	_REGCACHE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	(%rcx,%r14,4), %esi
	movq	%r15, %rdi
	callq	_devm_regmap_init_mmio
	movq	(%r13), %rcx
	movl	%eax, (%rcx,%r14,4)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	%eax, %edi
	callq	_WARN_ON
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%r12d, %r12d
LBB0_8:
	subl	(%rax), %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_12:
	movl	(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_resource_size
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_release_mem_region
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_sta2x11_mfd_names,8,3          ## @sta2x11_mfd_names
	.comm	_sta2x11_mfd_regmap_configs,8,3 ## @sta2x11_mfd_regmap_configs
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_REGCACHE_NONE,4,2              ## @REGCACHE_NONE
	.no_dead_strip	_sta2x11_mfd_platform_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sta2x11_mfd_platform_probe
_sta2x11_mfd_platform_probe:            ; @sta2x11_mfd_platform_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _sta2x11_mfd_names@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sta2x11_mfd_names@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w25, w1
	lsl	x9, x25, #3
	ldr	x22, [x8, x9]
Lloh3:
	adrp	x8, _sta2x11_mfd_regmap_configs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sta2x11_mfd_regmap_configs@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x20, [x8, x9]
	bl	_dev_get_platdata
	ldr	x0, [x0]
	bl	_sta2x11_mfd_find
	cbz	x0, LBB0_6
; %bb.1:
	cbz	x20, LBB0_6
; %bb.2:
	mov	x21, x0
Lloh6:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	cbz	x0, LBB0_9
; %bb.3:
	mov	x23, x0
	ldr	w24, [x0]
	bl	_resource_size
	mov	x1, x0
	mov	x0, x24
	mov	x2, x22
	bl	_request_mem_region
	cbz	w0, LBB0_7
; %bb.4:
	ldr	w22, [x23]
	mov	x0, x23
	bl	_resource_size
	mov	x1, x0
	mov	x0, x22
	bl	_ioremap
	ldr	x8, [x21, #8]
	str	w0, [x8, x25, lsl #2]
	cbz	w0, LBB0_8
; %bb.5:
	add	x9, x21, #16
Lloh9:
	adrp	x10, _REGCACHE_NONE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _REGCACHE_NONE@GOTPAGEOFF]
	str	x9, [x20, #8]
Lloh11:
	ldr	w9, [x10]
	str	w9, [x20]
	lsl	x22, x25, #2
	ldr	w1, [x8, x22]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_regmap_init_mmio
	ldr	x8, [x21]
	str	w0, [x8, x22]
	bl	_IS_ERR
	bl	_WARN_ON
	mov	w0, #0
	b	LBB0_11
LBB0_6:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh14:
	adrp	x8, _EBUSY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	ldr	w19, [x23]
	mov	x0, x23
	bl	_resource_size
	mov	x1, x0
	mov	x0, x19
	bl	_release_mem_region
LBB0_9:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_sta2x11_mfd_names,8,3          ; @sta2x11_mfd_names
	.comm	_sta2x11_mfd_regmap_configs,8,3 ; @sta2x11_mfd_regmap_configs
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_REGCACHE_NONE,4,2              ; @REGCACHE_NONE
	.no_dead_strip	_sta2x11_mfd_platform_probe
.subsections_via_symbols
