	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w83795_probe
_w83795_probe:                          ## @w83795_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	movq	_W83795_REG_BANKSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, 44(%r15)
	movq	%r15, %rdi
	addq	$40, %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	callq	_w83795_init_client
	movq	_W83795_REG_VOLT_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	movl	%eax, %ebx
	movq	_W83795_REG_VOLT_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	shll	$8, %eax
	orl	%ebx, %eax
	movl	%eax, 8(%r15)
	movq	_W83795_REG_FANIN_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	movl	%eax, %ebx
	movq	_W83795_REG_FANIN_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	shll	$8, %eax
	orl	%ebx, %eax
	movl	%eax, 12(%r15)
	movq	_W83795_REG_TEMP_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	movl	%eax, %ebx
	testb	$32, %bl
	je	LBB0_4
## %bb.3:
	movl	$1, 16(%r15)
LBB0_4:
	movl	%ebx, %esi
	shrl	$2, %esi
	andl	$3, %esi
	movq	%r15, %rdi
	movl	$5, %edx
	movl	$16, %ecx
	callq	_w83795_apply_temp_config
	andl	$3, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	movl	$15, %ecx
	callq	_w83795_apply_temp_config
	movq	_W83795_REG_TEMP_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	movl	%eax, %ebx
	movl	%eax, %esi
	sarl	$6, %esi
	movq	%r15, %rdi
	movl	$3, %edx
	movl	$20, %ecx
	callq	_w83795_apply_temp_config
	movl	%ebx, %esi
	shrl	$4, %esi
	andl	$3, %esi
	movq	%r15, %rdi
	movl	$2, %edx
	movl	$19, %ecx
	callq	_w83795_apply_temp_config
	movl	%ebx, %esi
	shrl	$2, %esi
	andl	$3, %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	$18, %ecx
	callq	_w83795_apply_temp_config
	andl	$3, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	$17, %ecx
	callq	_w83795_apply_temp_config
	cmpl	$0, 16(%r15)
	je	LBB0_14
## %bb.5:
	movq	_W83795_REG_DTSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	testb	$1, %al
	je	LBB0_7
## %bb.6:
	orb	$2, 16(%r15)
LBB0_7:
	movq	_W83795_REG_DTSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	movl	%eax, 20(%r15)
	cmpl	$1, 16(%r15)
	jne	LBB0_14
## %bb.8:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	btl	%ebx, %eax
	jae	LBB0_10
	.p2align	4, 0x90
LBB0_11:
	movl	%ebx, %edi
	callq	_W83795_REG_PECI_TBASE
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_w83795_read
	incl	%ebx
	andl	$127, %eax
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_info
	cmpl	$8, %ebx
	jne	LBB0_13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:
	incl	%ebx
	cmpl	$8, %ebx
	je	LBB0_14
LBB0_13:
	movl	20(%r15), %eax
	btl	%ebx, %eax
	jb	LBB0_11
	jmp	LBB0_10
LBB0_14:
	movq	_W83795_REG_VMIGB_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	andl	$15, %eax
	movl	%eax, 24(%r15)
	movq	(%r15), %rax
	movq	_w83795g@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_16
## %bb.15:
	movl	$8, 28(%r15)
	jmp	LBB0_17
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_25
LBB0_16:
	movl	$2, 28(%r15)
	movq	_W83795_REG_OVT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_read
	movq	_OVT_CFG_SEL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_18
LBB0_17:
	movl	$1, 32(%r15)
LBB0_18:
	movq	_device_create_file@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_handle_files
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.19:
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_21
## %bb.20:
	movq	%r14, %rdi
	callq	_w83795_check_dynamic_in_limits
LBB0_21:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 36(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movl	36(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_24:
	movq	_device_remove_file_wrapper@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83795_handle_files
LBB0_25:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	xorl	%ebx, %ebx
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_W83795_REG_BANKSEL,4,2         ## @W83795_REG_BANKSEL
	.comm	_W83795_REG_VOLT_CTRL1,4,2      ## @W83795_REG_VOLT_CTRL1
	.comm	_W83795_REG_VOLT_CTRL2,4,2      ## @W83795_REG_VOLT_CTRL2
	.comm	_W83795_REG_FANIN_CTRL1,4,2     ## @W83795_REG_FANIN_CTRL1
	.comm	_W83795_REG_FANIN_CTRL2,4,2     ## @W83795_REG_FANIN_CTRL2
	.comm	_W83795_REG_TEMP_CTRL1,4,2      ## @W83795_REG_TEMP_CTRL1
	.comm	_W83795_REG_TEMP_CTRL2,4,2      ## @W83795_REG_TEMP_CTRL2
	.comm	_W83795_REG_DTSC,4,2            ## @W83795_REG_DTSC
	.comm	_W83795_REG_DTSE,4,2            ## @W83795_REG_DTSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PECI agent %d Tbase temperature: %u\n"

	.comm	_W83795_REG_VMIGB_CTRL,4,2      ## @W83795_REG_VMIGB_CTRL
	.comm	_w83795g,8,3                    ## @w83795g
	.comm	_W83795_REG_OVT_CFG,4,2         ## @W83795_REG_OVT_CFG
	.comm	_OVT_CFG_SEL,4,2                ## @OVT_CFG_SEL
	.comm	_device_create_file,4,2         ## @device_create_file
	.comm	_device_remove_file_wrapper,4,2 ## @device_remove_file_wrapper
	.no_dead_strip	_w83795_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w83795_probe
_w83795_probe:                          ; @w83795_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	ldr	x8, [x21]
	str	x8, [x20]
Lloh3:
	adrp	x8, _W83795_REG_BANKSEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _W83795_REG_BANKSEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	str	w0, [x20, #44]
	add	x0, x20, #40
	bl	_mutex_init
	mov	x0, x19
	bl	_w83795_init_client
Lloh6:
	adrp	x8, _W83795_REG_VOLT_CTRL1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _W83795_REG_VOLT_CTRL1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	mov	x21, x0
Lloh9:
	adrp	x8, _W83795_REG_VOLT_CTRL2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _W83795_REG_VOLT_CTRL2@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	orr	w8, w21, w0, lsl #8
	str	w8, [x20, #8]
Lloh12:
	adrp	x8, _W83795_REG_FANIN_CTRL1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _W83795_REG_FANIN_CTRL1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	mov	x21, x0
Lloh15:
	adrp	x8, _W83795_REG_FANIN_CTRL2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _W83795_REG_FANIN_CTRL2@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	orr	w8, w21, w0, lsl #8
	str	w8, [x20, #12]
Lloh18:
	adrp	x8, _W83795_REG_TEMP_CTRL1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _W83795_REG_TEMP_CTRL1@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	mov	x21, x0
	tbz	w0, #5, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x20, #16]
LBB0_3:
	ubfx	w1, w21, #2, #2
	mov	x0, x20
	mov	w2, #5
	mov	w3, #16
	bl	_w83795_apply_temp_config
	and	w1, w21, #0x3
	mov	x0, x20
	mov	w2, #4
	mov	w3, #15
	bl	_w83795_apply_temp_config
Lloh21:
	adrp	x8, _W83795_REG_TEMP_CTRL2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _W83795_REG_TEMP_CTRL2@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	mov	x21, x0
	asr	w1, w0, #6
	mov	x0, x20
	mov	w2, #3
	mov	w3, #20
	bl	_w83795_apply_temp_config
	ubfx	w1, w21, #4, #2
	mov	x0, x20
	mov	w2, #2
	mov	w3, #19
	bl	_w83795_apply_temp_config
	ubfx	w1, w21, #2, #2
	mov	x0, x20
	mov	w2, #1
	mov	w3, #18
	bl	_w83795_apply_temp_config
	and	w1, w21, #0x3
	mov	x0, x20
	mov	w2, #0
	mov	w3, #17
	bl	_w83795_apply_temp_config
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_11
; %bb.4:
Lloh24:
	adrp	x8, _W83795_REG_DTSC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _W83795_REG_DTSC@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	tbz	w0, #0, LBB0_6
; %bb.5:
	ldr	w8, [x20, #16]
	orr	w8, w8, #0x2
	str	w8, [x20, #16]
LBB0_6:
Lloh27:
	adrp	x8, _W83795_REG_DTSE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _W83795_REG_DTSE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	str	w0, [x20, #20]
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.7:
	mov	w21, #0
Lloh30:
	adrp	x22, l_.str@PAGE
Lloh31:
	add	x22, x22, l_.str@PAGEOFF
	lsr	w8, w0, w21
	tbz	w8, #0, LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_W83795_REG_PECI_TBASE
	mov	x1, x0
	mov	x0, x19
	bl	_w83795_read
	add	w21, w21, #1
	and	w3, w0, #0x7f
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_dev_info
	cmp	w21, #8
	b.ne	LBB0_10
	b	LBB0_11
LBB0_9:
	add	w21, w21, #1
	cmp	w21, #8
	b.eq	LBB0_11
LBB0_10:
	ldr	w0, [x20, #20]
	lsr	w8, w0, w21
	tbnz	w8, #0, LBB0_8
	b	LBB0_9
LBB0_11:
Lloh32:
	adrp	x8, _W83795_REG_VMIGB_CTRL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _W83795_REG_VMIGB_CTRL@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
	and	w8, w0, #0xf
	str	w8, [x20, #24]
	ldr	x8, [x20]
Lloh35:
	adrp	x22, _w83795g@GOTPAGE
Lloh36:
	ldr	x22, [x22, _w83795g@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
	mov	w8, #8
	str	w8, [x20, #28]
	b	LBB0_15
LBB0_13:
Lloh37:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_14:
	mov	w8, #2
	str	w8, [x20, #28]
Lloh40:
	adrp	x8, _W83795_REG_OVT_CFG@GOTPAGE
Lloh41:
	ldr	x8, [x8, _W83795_REG_OVT_CFG@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_read
Lloh43:
	adrp	x8, _OVT_CFG_SEL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _OVT_CFG_SEL@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_16
LBB0_15:
	mov	w8, #1
	str	w8, [x20, #32]
LBB0_16:
Lloh46:
	adrp	x8, _device_create_file@GOTPAGE
Lloh47:
	ldr	x8, [x8, _device_create_file@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_handle_files
	mov	x21, x0
	cbnz	w0, LBB0_21
; %bb.17:
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_w83795_check_dynamic_in_limits
LBB0_19:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #36]
	bl	_IS_ERR
	cbz	x0, LBB0_23
; %bb.20:
	ldr	w0, [x20, #36]
	bl	_PTR_ERR
	mov	x21, x0
LBB0_21:
Lloh49:
	adrp	x8, _device_remove_file_wrapper@GOTPAGE
Lloh50:
	ldr	x8, [x8, _device_remove_file_wrapper@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83795_handle_files
LBB0_22:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_23:
	mov	w21, #0
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_W83795_REG_BANKSEL,4,2         ; @W83795_REG_BANKSEL
	.comm	_W83795_REG_VOLT_CTRL1,4,2      ; @W83795_REG_VOLT_CTRL1
	.comm	_W83795_REG_VOLT_CTRL2,4,2      ; @W83795_REG_VOLT_CTRL2
	.comm	_W83795_REG_FANIN_CTRL1,4,2     ; @W83795_REG_FANIN_CTRL1
	.comm	_W83795_REG_FANIN_CTRL2,4,2     ; @W83795_REG_FANIN_CTRL2
	.comm	_W83795_REG_TEMP_CTRL1,4,2      ; @W83795_REG_TEMP_CTRL1
	.comm	_W83795_REG_TEMP_CTRL2,4,2      ; @W83795_REG_TEMP_CTRL2
	.comm	_W83795_REG_DTSC,4,2            ; @W83795_REG_DTSC
	.comm	_W83795_REG_DTSE,4,2            ; @W83795_REG_DTSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PECI agent %d Tbase temperature: %u\n"

	.comm	_W83795_REG_VMIGB_CTRL,4,2      ; @W83795_REG_VMIGB_CTRL
	.comm	_w83795g,8,3                    ; @w83795g
	.comm	_W83795_REG_OVT_CFG,4,2         ; @W83795_REG_OVT_CFG
	.comm	_OVT_CFG_SEL,4,2                ; @OVT_CFG_SEL
	.comm	_device_create_file,4,2         ; @device_create_file
	.comm	_device_remove_file_wrapper,4,2 ; @device_remove_file_wrapper
	.no_dead_strip	_w83795_probe
.subsections_via_symbols
