	.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
	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, %r12
	movq	_IORESOURCE_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %r15
	movq	(%rax), %rdi
	movq	_VT8231_EXTENT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_vt8231_driver@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_request_region
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	callq	_vt8231_init_device
	movq	_vt8231_group@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_25
## %bb.5:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_VT8231_REG_UCH_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_vt8231_read_value
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 12(%rbx)
	movq	_vt8231_group_temps@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r14
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %esi
	movl	%ebx, %edi
	callq	_ISTEMP
	testq	%rax, %rax
	movq	_vt8231_group_temps@GOTPCREL(%rip), %r15
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rsi
	addq	%r14, %rsi
	movq	%r12, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_9
	jmp	LBB0_18
LBB0_1:
	movq	(%r15), %rdx
	movq	8(%r15), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_27
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_26
LBB0_10:
	movq	_vt8231_group_volts@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_15
## %bb.11:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r14
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %esi
	movl	%ebx, %edi
	callq	_ISVOLT
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rsi
	addq	%r14, %rsi
	movq	%r12, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_14
	jmp	LBB0_18
LBB0_15:
	movq	%r12, %rdi
	callq	_hwmon_device_register
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movl	8(%rbx), %edi
	callq	_PTR_ERR
LBB0_18:
	movl	%eax, %r13d
	movq	_vt8231_group_volts@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_21
## %bb.19:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	movq	%r12, %rdi
	callq	_sysfs_remove_group
	incq	%r15
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_20
LBB0_21:
	movq	_vt8231_group_temps@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_24
## %bb.22:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r14, %rsi
	movq	%r12, %rdi
	callq	_sysfs_remove_group
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %r14
	cmpq	%rax, %rbx
	jl	LBB0_23
LBB0_24:
	movq	_vt8231_group@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_sysfs_remove_group
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_VT8231_EXTENT@GOTPCREL(%rip), %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_25:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	callq	_kfree
LBB0_26:
	movq	(%r15), %rdi
	movl	(%r14), %esi
	callq	_release_region
LBB0_27:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	xorl	%r13d, %r13d
	jmp	LBB0_27
	.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	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, 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	x19, x0
	ldr	x0, [x0]
Lloh3:
	adrp	x24, _VT8231_EXTENT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _VT8231_EXTENT@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh5:
	adrp	x8, _vt8231_driver@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vt8231_driver@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_request_region
	cbz	w0, LBB0_8
; %bb.1:
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.2:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_platform_set_drvdata
	ldr	x8, [x19]
	str	x8, [x21, #24]
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x21]
	add	x0, x21, #16
	bl	_mutex_init
	mov	x0, x21
	bl	_vt8231_init_device
Lloh13:
	adrp	x1, _vt8231_group@GOTPAGE
Lloh14:
	ldr	x1, [x1, _vt8231_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_create_group
	mov	x22, x0
	cbnz	w0, LBB0_24
; %bb.3:
Lloh15:
	adrp	x8, _VT8231_REG_UCH_CONFIG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VT8231_REG_UCH_CONFIG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vt8231_read_value
	str	w0, [x21, #12]
Lloh18:
	adrp	x25, _vt8231_group_temps@GOTPAGE
Lloh19:
	ldr	x25, [x25, _vt8231_group_temps@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
Lloh20:
	adrp	x26, _vt8231_group_volts@GOTPAGE
Lloh21:
	ldr	x26, [x26, _vt8231_group_volts@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x27, #0
	mov	x23, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	add	x27, x27, #4
	cmp	x23, w0, sxtw
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21, #12]
	mov	x0, x23
	bl	_ISTEMP
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25]
	add	x1, x8, x27
	mov	x0, x20
	bl	_sysfs_create_group
	cbz	w0, LBB0_5
	b	LBB0_17
LBB0_8:
	ldp	x2, x3, [x19]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh24:
	adrp	x8, _ENODEV@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_26
LBB0_9:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_25
LBB0_10:
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.11:
	mov	x27, #0
	mov	x23, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	add	x27, x27, #4
	cmp	x23, w0, sxtw
	b.ge	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21, #12]
	mov	x0, x23
	bl	_ISVOLT
	cbz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x26]
	add	x1, x8, x27
	mov	x0, x20
	bl	_sysfs_create_group
	cbz	w0, LBB0_12
	b	LBB0_17
LBB0_15:
	mov	x0, x20
	bl	_hwmon_device_register
	str	w0, [x21, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_27
; %bb.16:
	ldr	w0, [x21, #8]
	bl	_PTR_ERR
LBB0_17:
	mov	x22, x0
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x23, #0
	mov	x27, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x1, x8, x23
	mov	x0, x20
	bl	_sysfs_remove_group
	add	x27, x27, #1
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	add	x23, x23, #4
	cmp	x27, w0, sxtw
	b.lt	LBB0_19
LBB0_20:
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_23
; %bb.21:
	mov	x23, #0
	mov	x26, #0
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x1, x8, x23
	mov	x0, x20
	bl	_sysfs_remove_group
	add	x26, x26, #1
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	add	x23, x23, #4
	cmp	x26, w0, sxtw
	b.lt	LBB0_22
LBB0_23:
Lloh30:
	adrp	x1, _vt8231_group@GOTPAGE
Lloh31:
	ldr	x1, [x1, _vt8231_group@GOTPAGEOFF]
	mov	x0, x20
	bl	_sysfs_remove_group
LBB0_24:
	mov	x0, x20
	mov	x1, #0
	bl	_platform_set_drvdata
	mov	x0, x21
	bl	_kfree
LBB0_25:
	ldr	x0, [x19]
	ldr	w1, [x24]
	bl	_release_region
LBB0_26:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_27:
	mov	w22, #0
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.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
