	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vt8231_probe
_vt8231_probe:                          ## @vt8231_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, %r12
	movq	_IORESOURCE_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %rbx
	movq	(%rax), %rsi
	movq	_VT8231_EXTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_vt8231_driver@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_devm_request_region
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	(%rbx), %rax
	movq	%rax, 24(%r15)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	callq	_vt8231_init_device
	movq	_vt8231_group@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_26
## %bb.5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_VT8231_REG_UCH_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_vt8231_read_value
	movl	%eax, 12(%r15)
	movq	_vt8231_group_temps@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_11
## %bb.6:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jge	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r15), %esi
	movl	%ebx, %edi
	callq	_ISTEMP
	testq	%rax, %rax
	movq	_vt8231_group_temps@GOTPCREL(%rip), %r12
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_10
	jmp	LBB0_9
LBB0_1:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_26
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_26
LBB0_11:
	movq	_vt8231_group_volts@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_16
## %bb.12:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	12(%r15), %esi
	movl	%ebx, %edi
	callq	_ISVOLT
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_15
LBB0_9:
	movl	%eax, %r14d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_16:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_hwmon_device_register
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	8(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %r14d
LBB0_19:
	movq	_vt8231_group_volts@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_22
## %bb.20:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_sysfs_remove_group
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_21
LBB0_22:
	movq	_vt8231_group_temps@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_25
## %bb.23:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	addq	%r15, %rsi
	movq	%r12, %rdi
	callq	_sysfs_remove_group
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_24
LBB0_25:
	movq	_vt8231_group@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_sysfs_remove_group
	jmp	LBB0_26
LBB0_17:
	xorl	%r14d, %r14d
LBB0_26:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IORESOURCE_IO,4,2              ## @IORESOURCE_IO
	.comm	_VT8231_EXTENT,4,2              ## @VT8231_EXTENT
	.comm	_vt8231_driver,4,2              ## @vt8231_driver
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Region 0x%lx-0x%lx already in use!\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"vt8231"

	.comm	_vt8231_group,4,2               ## @vt8231_group
	.comm	_VT8231_REG_UCH_CONFIG,4,2      ## @VT8231_REG_UCH_CONFIG
	.comm	_vt8231_group_temps,8,3         ## @vt8231_group_temps
	.comm	_vt8231_group_volts,8,3         ## @vt8231_group_volts
	.no_dead_strip	_vt8231_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vt8231_probe
_vt8231_probe:                          ; @vt8231_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, _IORESOURCE_IO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IORESOURCE_IO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_platform_get_resource
	mov	x21, x0
	ldr	x1, [x0]
Lloh3:
	adrp	x8, _VT8231_EXTENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VT8231_EXTENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _vt8231_driver@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vt8231_driver@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_devm_request_region
	cbz	w0, LBB0_8
; %bb.1:
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	x8, [x21]
	str	x8, [x20, #24]
Lloh12:
	adrp	x8, l_.str.1@PAGE
Lloh13:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x20]
	add	x0, x20, #16
	bl	_mutex_init
	mov	x0, x20
	bl	_vt8231_init_device
Lloh14:
	adrp	x1, _vt8231_group@GOTPAGE
Lloh15:
	ldr	x1, [x1, _vt8231_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_11
; %bb.3:
Lloh16:
	adrp	x8, _VT8231_REG_UCH_CONFIG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VT8231_REG_UCH_CONFIG@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_vt8231_read_value
	str	w0, [x20, #12]
Lloh19:
	adrp	x23, _vt8231_group_temps@GOTPAGE
Lloh20:
	ldr	x23, [x23, _vt8231_group_temps@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
Lloh21:
	adrp	x24, _vt8231_group_volts@GOTPAGE
Lloh22:
	ldr	x24, [x24, _vt8231_group_volts@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.4:
	mov	x25, #0
	mov	x22, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	add	x25, x25, #4
	cmp	x22, w0, sxtw
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, #12]
	mov	x0, x22
	bl	_ISTEMP
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
	add	x1, x8, x25
	mov	x0, x19
	bl	_sysfs_create_group
	cbz	w0, LBB0_5
	b	LBB0_19
LBB0_8:
	ldp	x2, x3, [x21]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh25:
	adrp	x8, _ENODEV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.13:
	mov	x25, #0
	mov	x22, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x22, x22, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x25, x25, #4
	cmp	x22, w0, sxtw
	b.ge	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, #12]
	mov	x0, x22
	bl	_ISVOLT
	cbz	x0, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x24]
	add	x1, x8, x25
	mov	x0, x19
	bl	_sysfs_create_group
	cbz	w0, LBB0_14
	b	LBB0_19
LBB0_17:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_26
; %bb.18:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
LBB0_19:
	mov	x21, x0
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.20:
	mov	x20, #0
	mov	x22, #0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x1, x8, x20
	mov	x0, x19
	bl	_sysfs_remove_group
	add	x22, x22, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x20, x20, #4
	cmp	x22, w0, sxtw
	b.lt	LBB0_21
LBB0_22:
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_25
; %bb.23:
	mov	x20, #0
	mov	x22, #0
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x8, x20
	mov	x0, x19
	bl	_sysfs_remove_group
	add	x22, x22, #1
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	add	x20, x20, #4
	cmp	x22, w0, sxtw
	b.lt	LBB0_24
LBB0_25:
Lloh29:
	adrp	x1, _vt8231_group@GOTPAGE
Lloh30:
	ldr	x1, [x1, _vt8231_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	b	LBB0_11
LBB0_26:
	mov	w21, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_IORESOURCE_IO,4,2              ; @IORESOURCE_IO
	.comm	_VT8231_EXTENT,4,2              ; @VT8231_EXTENT
	.comm	_vt8231_driver,4,2              ; @vt8231_driver
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Region 0x%lx-0x%lx already in use!\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"vt8231"

	.comm	_vt8231_group,4,2               ; @vt8231_group
	.comm	_VT8231_REG_UCH_CONFIG,4,2      ; @VT8231_REG_UCH_CONFIG
	.comm	_vt8231_group_temps,8,3         ; @vt8231_group_temps
	.comm	_vt8231_group_volts,8,3         ; @vt8231_group_volts
	.no_dead_strip	_vt8231_probe
.subsections_via_symbols
