	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w83791d_probe
_w83791d_probe:                         ## @w83791d_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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r13, %rdi
	addq	$12, %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	callq	_w83791d_detect_subclients
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movq	%r14, %rdi
	callq	_w83791d_init_client
	movq	_NUMBER_OF_FANIN@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_W83791D_REG_FAN_MIN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_w83791d_read
	movq	(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_w83791d_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	movq	_W83791D_REG_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_w83791d_read
	movl	%eax, %r12d
	testb	$16, %r12b
	je	LBB0_9
## %bb.8:
	movq	_w83791d_group_fanpwm45@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_13
LBB0_9:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 8(%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movl	8(%r13), %edi
	callq	_PTR_ERR
	movl	%eax, %r15d
	testb	$16, %r12b
	je	LBB0_13
## %bb.12:
	movq	_w83791d_group_fanpwm45@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
LBB0_13:
	movq	_w83791d_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%r15d, %r15d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NUMBER_OF_FANIN,4,2            ## @NUMBER_OF_FANIN
	.comm	_W83791D_REG_FAN_MIN,8,3        ## @W83791D_REG_FAN_MIN
	.comm	_w83791d_group,4,2              ## @w83791d_group
	.comm	_W83791D_REG_GPIO,4,2           ## @W83791D_REG_GPIO
	.comm	_w83791d_group_fanpwm45,4,2     ## @w83791d_group_fanpwm45
	.comm	_W83791D_REG_DID_VID4,4,2       ## @W83791D_REG_DID_VID4
	.no_dead_strip	_w83791d_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w83791d_probe
_w83791d_probe:                         ; @w83791d_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	add	x0, x20, #12
	bl	_mutex_init
	mov	x0, x19
	bl	_w83791d_detect_subclients
	mov	x21, x0
	cbnz	w0, LBB0_13
; %bb.2:
	mov	x0, x19
	bl	_w83791d_init_client
Lloh3:
	adrp	x21, _NUMBER_OF_FANIN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NUMBER_OF_FANIN@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
Lloh5:
	adrp	x23, _W83791D_REG_FAN_MIN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _W83791D_REG_FAN_MIN@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	lsl	x24, x22, #2
	ldr	w1, [x8, x24]
	mov	x0, x19
	bl	_w83791d_read
	ldr	x8, [x20]
	str	w0, [x8, x24]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
Lloh7:
	adrp	x1, _w83791d_group@GOTPAGE
Lloh8:
	ldr	x1, [x1, _w83791d_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_13
; %bb.6:
Lloh9:
	adrp	x8, _W83791D_REG_GPIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _W83791D_REG_GPIO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_w83791d_read
	mov	x22, x0
	tbz	w0, #4, LBB0_8
; %bb.7:
Lloh12:
	adrp	x1, _w83791d_group_fanpwm45@GOTPAGE
Lloh13:
	ldr	x1, [x1, _w83791d_group_fanpwm45@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_11
LBB0_8:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.9:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x21, x0
	tbz	w22, #4, LBB0_11
; %bb.10:
Lloh14:
	adrp	x1, _w83791d_group_fanpwm45@GOTPAGE
Lloh15:
	ldr	x1, [x1, _w83791d_group_fanpwm45@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
LBB0_11:
Lloh16:
	adrp	x1, _w83791d_group@GOTPAGE
Lloh17:
	ldr	x1, [x1, _w83791d_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	b	LBB0_13
LBB0_12:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w21, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NUMBER_OF_FANIN,4,2            ; @NUMBER_OF_FANIN
	.comm	_W83791D_REG_FAN_MIN,8,3        ; @W83791D_REG_FAN_MIN
	.comm	_w83791d_group,4,2              ; @w83791d_group
	.comm	_W83791D_REG_GPIO,4,2           ; @W83791D_REG_GPIO
	.comm	_w83791d_group_fanpwm45,4,2     ; @w83791d_group_fanpwm45
	.comm	_W83791D_REG_DID_VID4,4,2       ; @W83791D_REG_DID_VID4
	.no_dead_strip	_w83791d_probe
.subsections_via_symbols
