	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emc1403_probe
_emc1403_probe:                         ## @emc1403_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_emc1403_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	16(%rbx), %rdi
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_mutex_init
	movl	(%r14), %eax
	cmpl	$130, %eax
	je	LBB0_9
## %bb.5:
	cmpl	$129, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.7:
	movq	(%rbx), %rax
	movq	_emc1404_group@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rax)
LBB0_8:
	movq	(%rbx), %rax
	movq	_emc1403_group@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	(%rbx), %rax
	movq	_emc1402_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_10
LBB0_9:
	movq	(%rbx), %rax
	movq	_emc1402_group@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	(%rbx), %rax
	movq	_emc1402_alarm_group@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
LBB0_10:
	movl	4(%r15), %esi
	movq	(%rbx), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_devm_hwmon_device_register_with_groups
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_13:
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_emc1403_regmap_config,4,2      ## @emc1403_regmap_config
	.comm	_emc1404_group,4,2              ## @emc1404_group
	.comm	_emc1403_group,4,2              ## @emc1403_group
	.comm	_emc1402_group,4,2              ## @emc1402_group
	.comm	_emc1402_alarm_group,4,2        ## @emc1402_alarm_group
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s Thermal chip found\n"

	.no_dead_strip	_emc1403_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emc1403_probe
_emc1403_probe:                         ; @emc1403_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x1, _emc1403_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _emc1403_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	x0, [x21, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x21, #16]
	b	LBB0_13
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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_5:
	add	x0, x21, #8
	bl	_mutex_init
	ldr	w8, [x20]
	cmp	w8, #130
	b.eq	LBB0_10
; %bb.6:
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _emc1404_group@GOTPAGE
Lloh9:
	ldr	x9, [x9, _emc1404_group@GOTPAGEOFF]
	str	x9, [x8, #16]
LBB0_9:
Lloh10:
	adrp	x8, _emc1403_group@GOTPAGE
Lloh11:
	ldr	x8, [x8, _emc1403_group@GOTPAGEOFF]
	ldr	x9, [x21]
	str	x8, [x9, #8]
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _emc1402_group@GOTPAGE
Lloh13:
	ldr	x9, [x9, _emc1402_group@GOTPAGEOFF]
	str	x9, [x8]
	b	LBB0_11
LBB0_10:
Lloh14:
	adrp	x8, _emc1402_group@GOTPAGE
Lloh15:
	ldr	x8, [x8, _emc1402_group@GOTPAGEOFF]
	ldr	x9, [x21]
	str	x8, [x9]
	ldr	x8, [x21]
Lloh16:
	adrp	x9, _emc1402_alarm_group@GOTPAGE
Lloh17:
	ldr	x9, [x9, _emc1402_alarm_group@GOTPAGEOFF]
	str	x9, [x8, #8]
LBB0_11:
	ldr	w1, [x19, #4]
	ldr	x3, [x21]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_hwmon_device_register_with_groups
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.12:
	mov	x0, x21
LBB0_13:
	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
	b	_PTR_ERR
LBB0_14:
	ldr	w2, [x20, #4]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_emc1403_regmap_config,4,2      ; @emc1403_regmap_config
	.comm	_emc1404_group,4,2              ; @emc1404_group
	.comm	_emc1403_group,4,2              ; @emc1403_group
	.comm	_emc1402_group,4,2              ; @emc1402_group
	.comm	_emc1402_alarm_group,4,2        ; @emc1402_alarm_group
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s Thermal chip found\n"

	.no_dead_strip	_emc1403_probe
.subsections_via_symbols
