	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max6650_probe
_max6650_probe:                         ## @max6650_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	%rsi, %r12
	movq	%rdi, %r15
	leaq	4(%rdi), %r14
	movq	_max6650_dt_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_ptr
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_of_match_device
	movq	%rax, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_mutex_init
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	movl	(%r13), %eax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_10
LBB0_4:
	movl	(%r12), %eax
LBB0_5:
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_max6650_init_client
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movl	(%r15), %esi
	movq	_max6650_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_max6650_chip_info@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devm_hwmon_device_register_with_info
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	_CONFIG_THERMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_max6650_cooling_ops@GOTPCREL(%rip), %r8
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_devm_thermal_of_cooling_device_register
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_warn
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max6650_dt_match,4,2           ## @max6650_dt_match
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_max6650_chip_info,4,2          ## @max6650_chip_info
	.comm	_max6650_groups,4,2             ## @max6650_groups
	.comm	_CONFIG_THERMAL,4,2             ## @CONFIG_THERMAL
	.comm	_max6650_cooling_ops,4,2        ## @max6650_cooling_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"thermal cooling device register failed: %ld\n"

	.no_dead_strip	_max6650_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max6650_probe
_max6650_probe:                         ; @max6650_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	x22, x1
	mov	x20, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _max6650_dt_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _max6650_dt_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_of_match_ptr
	mov	x1, x19
	bl	_of_match_device
	mov	x23, x0
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	str	x20, [x0, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_i2c_set_clientdata
	add	x0, x21, #4
	bl	_mutex_init
	cbz	x23, LBB0_4
; %bb.2:
	ldr	w8, [x23]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_4:
	ldr	w8, [x22]
LBB0_5:
	str	w8, [x21]
	mov	x0, x21
	mov	x1, x20
	bl	_max6650_init_client
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _max6650_groups@GOTPAGE
Lloh10:
	ldr	x8, [x8, _max6650_groups@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x3, _max6650_chip_info@GOTPAGE
Lloh13:
	ldr	x3, [x3, _max6650_chip_info@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_hwmon_device_register_with_info
	bl	_PTR_ERR_OR_ZERO
	cbnz	w0, LBB0_10
; %bb.7:
Lloh14:
	adrp	x8, _CONFIG_THERMAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CONFIG_THERMAL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_10
; %bb.8:
	ldp	w2, w1, [x20]
Lloh17:
	adrp	x4, _max6650_cooling_ops@GOTPAGE
Lloh18:
	ldr	x4, [x4, _max6650_cooling_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x3, x21
	bl	_devm_thermal_of_cooling_device_register
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x2, x0
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	mov	w0, #0
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_max6650_dt_match,4,2           ; @max6650_dt_match
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_max6650_chip_info,4,2          ; @max6650_chip_info
	.comm	_max6650_groups,4,2             ; @max6650_groups
	.comm	_CONFIG_THERMAL,4,2             ; @CONFIG_THERMAL
	.comm	_max6650_cooling_ops,4,2        ; @max6650_cooling_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"thermal cooling device register failed: %ld\n"

	.no_dead_strip	_max6650_probe
.subsections_via_symbols
