	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max6621_probe
_max6621_probe:                         ## @max6621_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, %r15
	leaq	4(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	_max6621_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.14:
	movl	8(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_2
LBB0_4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, 16(%rbx)
	movl	8(%rbx), %edi
	movq	_MAX6621_CONFIG0_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX6621_CONFIG0_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	testl	%eax, %eax
	jne	LBB0_2
## %bb.5:
	movl	8(%rbx), %edi
	movq	_MAX6621_CONFIG1_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX6621_CONFIG1_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	testl	%eax, %eax
	jne	LBB0_2
## %bb.6:
	movl	8(%rbx), %edi
	callq	_regcache_mark_dirty
	movl	8(%rbx), %edi
	callq	_regcache_sync
	testl	%eax, %eax
	je	LBB0_7
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_MAX6621_TEMP_INPUT_REG_NUM@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_13
## %bb.8:
	xorl	%r13d, %r13d
	movq	_max6621_temp_regs@GOTPCREL(%rip), %r12
	jmp	LBB0_9
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	movl	%ecx, (%rax,%r13,4)
	incq	%r13
	movq	_MAX6621_TEMP_INPUT_REG_NUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r13,4), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_word_data
	testl	%eax, %eax
	js	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_max6621_verify_reg_data
	movl	$-1, %ecx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r13,4), %ecx
	jmp	LBB0_12
LBB0_13:
	movl	(%r15), %esi
	movq	_max6621_chip_info@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	callq	_devm_hwmon_device_register_with_info
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_max6621_regmap_config,4,2      ## @max6621_regmap_config
	.comm	_MAX6621_CONFIG0_REG,4,2        ## @MAX6621_CONFIG0_REG
	.comm	_MAX6621_CONFIG0_INIT,4,2       ## @MAX6621_CONFIG0_INIT
	.comm	_MAX6621_CONFIG1_REG,4,2        ## @MAX6621_CONFIG1_REG
	.comm	_MAX6621_CONFIG1_INIT,4,2       ## @MAX6621_CONFIG1_INIT
	.comm	_MAX6621_TEMP_INPUT_REG_NUM,4,2 ## @MAX6621_TEMP_INPUT_REG_NUM
	.comm	_max6621_temp_regs,8,3          ## @max6621_temp_regs
	.comm	_max6621_chip_info,4,2          ## @max6621_chip_info
	.no_dead_strip	_max6621_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max6621_probe
_max6621_probe:                         ; @max6621_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	x20, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x1, _max6621_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _max6621_regmap_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_devm_regmap_init_i2c
	str	w0, [x21, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x21, #8]
	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
	b	_PTR_ERR
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w1, w8
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_i2c_set_clientdata
	str	x20, [x21, #16]
	ldr	w0, [x21, #8]
Lloh8:
	adrp	x8, _MAX6621_CONFIG0_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX6621_CONFIG0_REG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _MAX6621_CONFIG0_INIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAX6621_CONFIG0_INIT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_regmap_write
	mov	x1, x0
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	w0, [x21, #8]
Lloh14:
	adrp	x8, _MAX6621_CONFIG1_REG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX6621_CONFIG1_REG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _MAX6621_CONFIG1_INIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MAX6621_CONFIG1_INIT@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_regmap_write
	mov	x1, x0
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w0, [x21, #8]
	bl	_regcache_mark_dirty
	ldr	w0, [x21, #8]
	bl	_regcache_sync
	mov	x1, x0
	cbz	w0, LBB0_8
LBB0_7:
	mov	x0, x1
	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_8:
Lloh20:
	adrp	x22, _MAX6621_TEMP_INPUT_REG_NUM@GOTPAGE
Lloh21:
	ldr	x22, [x22, _MAX6621_TEMP_INPUT_REG_NUM@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.9:
	mov	x23, #0
Lloh22:
	adrp	x24, _max6621_temp_regs@GOTPAGE
Lloh23:
	ldr	x24, [x24, _max6621_temp_regs@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x24]
	ldr	w8, [x8, x23, lsl #2]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x9, [x21]
	str	w8, [x9, x23, lsl #2]
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.ge	LBB0_15
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x20
	bl	_i2c_smbus_read_word_data
	mov	x1, x0
	tbnz	w0, #31, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	bl	_max6621_verify_reg_data
	cbz	w0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w8, #-1
	b	LBB0_11
LBB0_15:
	ldr	w1, [x20]
Lloh24:
	adrp	x3, _max6621_chip_info@GOTPAGE
Lloh25:
	ldr	x3, [x3, _max6621_chip_info@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x21
	mov	x4, #0
	bl	_devm_hwmon_device_register_with_info
	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
	b	_PTR_ERR_OR_ZERO
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_max6621_regmap_config,4,2      ; @max6621_regmap_config
	.comm	_MAX6621_CONFIG0_REG,4,2        ; @MAX6621_CONFIG0_REG
	.comm	_MAX6621_CONFIG0_INIT,4,2       ; @MAX6621_CONFIG0_INIT
	.comm	_MAX6621_CONFIG1_REG,4,2        ; @MAX6621_CONFIG1_REG
	.comm	_MAX6621_CONFIG1_INIT,4,2       ; @MAX6621_CONFIG1_INIT
	.comm	_MAX6621_TEMP_INPUT_REG_NUM,4,2 ; @MAX6621_TEMP_INPUT_REG_NUM
	.comm	_max6621_temp_regs,8,3          ; @max6621_temp_regs
	.comm	_max6621_chip_info,4,2          ; @max6621_chip_info
	.no_dead_strip	_max6621_probe
.subsections_via_symbols
