	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucd9000_probe
_ucd9000_probe:                         ## @ucd9000_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_I2C_SMBUS_BLOCK_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	8(%r14), %edi
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_BLOCK_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_UCD9000_DEVICE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_i2c_smbus_read_block_data
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_4
## %bb.6:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %eax
	movb	$0, (%r15,%rax)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_dev_info
	movq	_ucd9000_id@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	8(%r12), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r12), %rbx
	addq	$16, %r12
	cmpq	$0, (%rbx)
	jne	LBB0_7
LBB0_9:
	movq	8(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.12:
	cmpq	$0, (%r14)
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
LBB0_11:
	movq	%r14, %rdi
	callq	_dev_err
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_40
LBB0_4:
	leaq	L_.str(%rip), %rsi
LBB0_5:
	movq	%r14, %rdi
	callq	_dev_err
LBB0_40:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_43
## %bb.41:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %eax
LBB0_15:
	movq	_ucd9000@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.16:
	cmpl	(%r12), %eax
	je	LBB0_18
## %bb.17:
	movq	8(%rdx), %rdx
	movq	8(%r12), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_notice
LBB0_18:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	%rax, %rbx
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_UCD9000_NUM_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_21
## %bb.22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	je	LBB0_23
## %bb.24:
	movq	_PMBUS_HAVE_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_UCD9000_MONITOR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_i2c_smbus_read_block_data
	testl	%eax, %eax
	jle	LBB0_42
## %bb.25:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=1
	incq	%r13
	cmpq	%r13, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_30
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%r13), %edi
	callq	_UCD9000_MON_PAGE
	movl	%eax, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %ebx
	jge	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movsbl	(%r15,%r13), %edi
	callq	_UCD9000_MON_TYPE
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	cltq
	leaq	l_switch.table.ucd9000_probe(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.ucd9000_probe.8(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rcx
	movslq	%ebx, %rdx
	orl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_29
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_21:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_5
LBB0_30:
	movslq	(%r12), %rax
	movq	_ucd90124@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_37
## %bb.31:
	movq	_UCD9000_NUM_FAN@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_36
## %bb.32:
	xorl	%r15d, %r15d
	movq	_UCD9000_FAN_CONFIG@GOTPCREL(%rip), %rbx
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	_UCD9000_FAN_CONFIG_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_i2c_smbus_write_byte_data
	movl	(%rbx), %esi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rdx
	movq	%r14, %rdi
	callq	_i2c_smbus_read_block_data
	testl	%eax, %eax
	js	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_34 Depth=1
	incq	%r15
	movq	_UCD9000_NUM_FAN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jl	LBB0_34
LBB0_36:
	movq	_UCD9000_FAN_CONFIG_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_i2c_smbus_write_byte_data
	movq	_ucd9000_read_byte_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 24(%rdx)
	movq	_PMBUS_HAVE_FAN12@GOTPCREL(%rip), %rax
	movq	_PMBUS_HAVE_STATUS_FAN12@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PMBUS_HAVE_FAN34@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PMBUS_HAVE_STATUS_FAN34@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	16(%rdx), %rax
	orl	%ecx, (%rax)
LBB0_37:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_ucd9000_probe_gpio
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_pmbus_do_probe
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_40
## %bb.38:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_ucd9000_init_debugfs
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_40
## %bb.39:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_40
LBB0_23:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_11
LBB0_42:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_11
LBB0_35:
	movl	%eax, %r13d
	jmp	LBB0_40
LBB0_43:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ## @I2C_SMBUS_BLOCK_MAX
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_BLOCK_DATA,4,2  ## @I2C_FUNC_SMBUS_BLOCK_DATA
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_UCD9000_DEVICE_ID,4,2          ## @UCD9000_DEVICE_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read device ID\n"

L_.str.1:                               ## @.str.1
	.asciz	"Device ID %s\n"

	.comm	_ucd9000_id,8,3                 ## @ucd9000_id
L_.str.2:                               ## @.str.2
	.asciz	"Unsupported device\n"

	.comm	_ucd9000,4,2                    ## @ucd9000
L_.str.3:                               ## @.str.3
	.asciz	"Device mismatch: Configured %s, detected %s\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_UCD9000_NUM_PAGES,4,2          ## @UCD9000_NUM_PAGES
L_.str.4:                               ## @.str.4
	.asciz	"Failed to read number of active pages\n"

L_.str.5:                               ## @.str.5
	.asciz	"No pages configured\n"

	.comm	_PMBUS_HAVE_TEMP,4,2            ## @PMBUS_HAVE_TEMP
	.comm	_UCD9000_MONITOR_CONFIG,4,2     ## @UCD9000_MONITOR_CONFIG
L_.str.6:                               ## @.str.6
	.asciz	"Failed to read configuration data\n"

	.comm	_PMBUS_HAVE_VOUT,4,2            ## @PMBUS_HAVE_VOUT
	.comm	_PMBUS_HAVE_STATUS_VOUT,4,2     ## @PMBUS_HAVE_STATUS_VOUT
	.comm	_PMBUS_HAVE_TEMP2,4,2           ## @PMBUS_HAVE_TEMP2
	.comm	_PMBUS_HAVE_STATUS_TEMP,4,2     ## @PMBUS_HAVE_STATUS_TEMP
	.comm	_PMBUS_HAVE_IOUT,4,2            ## @PMBUS_HAVE_IOUT
	.comm	_PMBUS_HAVE_STATUS_IOUT,4,2     ## @PMBUS_HAVE_STATUS_IOUT
	.comm	_ucd90124,8,3                   ## @ucd90124
	.comm	_UCD9000_NUM_FAN,4,2            ## @UCD9000_NUM_FAN
	.comm	_UCD9000_FAN_CONFIG_INDEX,4,2   ## @UCD9000_FAN_CONFIG_INDEX
	.comm	_UCD9000_FAN_CONFIG,4,2         ## @UCD9000_FAN_CONFIG
	.comm	_ucd9000_read_byte_data,4,2     ## @ucd9000_read_byte_data
	.comm	_PMBUS_HAVE_FAN12,4,2           ## @PMBUS_HAVE_FAN12
	.comm	_PMBUS_HAVE_STATUS_FAN12,4,2    ## @PMBUS_HAVE_STATUS_FAN12
	.comm	_PMBUS_HAVE_FAN34,4,2           ## @PMBUS_HAVE_FAN34
	.comm	_PMBUS_HAVE_STATUS_FAN34,4,2    ## @PMBUS_HAVE_STATUS_FAN34
L_.str.7:                               ## @.str.7
	.asciz	"Failed to register debugfs: %d\n"

	.no_dead_strip	_ucd9000_probe
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ucd9000_probe
l_switch.table.ucd9000_probe:
	.quad	_PMBUS_HAVE_VOUT
	.quad	_PMBUS_HAVE_VOUT
	.quad	_PMBUS_HAVE_TEMP2
	.quad	_PMBUS_HAVE_IOUT

	.p2align	3                               ## @switch.table.ucd9000_probe.8
l_switch.table.ucd9000_probe.8:
	.quad	_PMBUS_HAVE_STATUS_VOUT
	.quad	_PMBUS_HAVE_STATUS_VOUT
	.quad	_PMBUS_HAVE_STATUS_TEMP
	.quad	_PMBUS_HAVE_STATUS_IOUT

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucd9000_probe
_ucd9000_probe:                         ; @ucd9000_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_SMBUS_BLOCK_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
	ldr	w0, [x0, #8]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _I2C_FUNC_SMBUS_BLOCK_DATA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_BLOCK_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_13
; %bb.1:
Lloh14:
	adrp	x8, _UCD9000_DEVICE_ID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UCD9000_DEVICE_ID@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_i2c_smbus_read_block_data
	mov	x24, x0
	tbnz	w0, #31, LBB0_5
; %bb.2:
	strb	wzr, [x21, w24, uxtw]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_info
Lloh19:
	adrp	x8, _ucd9000_id@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ucd9000_id@GOTPAGEOFF]
Lloh21:
	ldr	x24, [x8]
	ldr	x23, [x24, #8]
	ldr	x8, [x23]
	cbz	x8, LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x21
	bl	_strncasecmp
	cbz	w0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x24, #16
	ldr	x23, [x24, #24]
	ldr	x8, [x23]
	mov	x24, x20
	cbnz	x8, LBB0_3
	b	LBB0_8
LBB0_5:
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_15
LBB0_7:
	mov	x20, x24
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x8, [x19]
	cbz	x8, LBB0_17
; %bb.10:
	mov	x0, x19
	bl	_of_device_get_match_data
	b	LBB0_18
LBB0_11:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_dev_err
LBB0_13:
Lloh26:
	adrp	x8, _ENODEV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.16:
	mov	x0, x24
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	w0, [x22]
LBB0_18:
Lloh31:
	adrp	x8, _ucd9000@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ucd9000@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_21
; %bb.19:
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_21
; %bb.20:
	ldr	x2, [x22, #8]
	ldr	x3, [x20, #8]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_notice
LBB0_21:
Lloh36:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_30
; %bb.22:
	mov	x22, x0
Lloh39:
	adrp	x8, _UCD9000_NUM_PAGES@GOTPAGE
Lloh40:
	ldr	x8, [x8, _UCD9000_NUM_PAGES@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	mov	x24, x0
	tbnz	w0, #31, LBB0_31
; %bb.23:
	add	x23, x22, #8
	str	w24, [x23]
	cbz	w24, LBB0_42
; %bb.24:
Lloh42:
	adrp	x8, _PMBUS_HAVE_TEMP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PMBUS_HAVE_TEMP@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	ldr	x9, [x22, #16]
	str	w8, [x9]
Lloh45:
	adrp	x8, _UCD9000_MONITOR_CONFIG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _UCD9000_MONITOR_CONFIG@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_i2c_smbus_read_block_data
	cmp	w0, #1
	b.lt	LBB0_43
; %bb.25:
	mov	w25, w0
Lloh48:
	adrp	x26, l_switch.table.ucd9000_probe@PAGE
Lloh49:
	add	x26, x26, l_switch.table.ucd9000_probe@PAGEOFF
Lloh50:
	adrp	x27, l_switch.table.ucd9000_probe.8@PAGE
Lloh51:
	add	x27, x27, l_switch.table.ucd9000_probe.8@PAGEOFF
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x21, x21, #1
	subs	x25, x25, #1
	b.eq	LBB0_32
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x21]
	bl	_UCD9000_MON_PAGE
	ldr	w8, [x23]
	cmp	w0, w8
	b.ge	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x24, x0
	ldrsb	w0, [x21]
	bl	_UCD9000_MON_TYPE
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	sbfiz	x8, x8, #3, #32
	ldr	x9, [x26, x8]
	ldr	x8, [x27, x8]
	ldr	w9, [x9]
	ldr	w8, [x8]
	orr	w8, w8, w9
	ldr	x9, [x22, #16]
	sbfiz	x10, x24, #2, #32
	ldr	w11, [x9, x10]
	orr	w8, w8, w11
	str	w8, [x9, x10]
	b	LBB0_26
LBB0_30:
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_14
LBB0_31:
Lloh54:
	adrp	x1, l_.str.4@PAGE
Lloh55:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_32:
	ldrsw	x8, [x20]
Lloh56:
	adrp	x9, _ucd90124@GOTPAGE
Lloh57:
	ldr	x9, [x9, _ucd90124@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.33:
Lloh59:
	adrp	x25, _UCD9000_NUM_FAN@GOTPAGE
Lloh60:
	ldr	x25, [x25, _UCD9000_NUM_FAN@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh61:
	adrp	x26, _UCD9000_FAN_CONFIG_INDEX@GOTPAGE
Lloh62:
	ldr	x26, [x26, _UCD9000_FAN_CONFIG_INDEX@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_37
; %bb.34:
	mov	x21, #0
Lloh63:
	adrp	x27, _UCD9000_FAN_CONFIG@GOTPAGE
Lloh64:
	ldr	x27, [x27, _UCD9000_FAN_CONFIG@GOTPAGEOFF]
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x21
	bl	_i2c_smbus_write_byte_data
	ldr	w1, [x27]
	ldr	x8, [x22]
	ldr	x2, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_i2c_smbus_read_block_data
	tbnz	w0, #31, LBB0_44
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x25]
	cmp	x21, x8
	b.lt	LBB0_35
LBB0_37:
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_i2c_smbus_write_byte_data
Lloh65:
	adrp	x8, _ucd9000_read_byte_data@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ucd9000_read_byte_data@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x9, _PMBUS_HAVE_FAN12@GOTPAGE
Lloh69:
	ldr	x9, [x9, _PMBUS_HAVE_FAN12@GOTPAGEOFF]
	str	w8, [x22, #24]
Lloh70:
	ldr	w8, [x9]
Lloh71:
	adrp	x9, _PMBUS_HAVE_STATUS_FAN12@GOTPAGE
Lloh72:
	ldr	x9, [x9, _PMBUS_HAVE_STATUS_FAN12@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh74:
	adrp	x9, _PMBUS_HAVE_FAN34@GOTPAGE
Lloh75:
	ldr	x9, [x9, _PMBUS_HAVE_FAN34@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh77:
	adrp	x9, _PMBUS_HAVE_STATUS_FAN34@GOTPAGE
Lloh78:
	ldr	x9, [x9, _PMBUS_HAVE_STATUS_FAN34@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	x9, [x22, #16]
	ldr	w10, [x9]
	orr	w8, w8, w10
	str	w8, [x9]
LBB0_38:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_ucd9000_probe_gpio
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_pmbus_do_probe
	mov	x24, x0
	cbnz	w0, LBB0_15
; %bb.39:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_ucd9000_init_debugfs
	cbz	w0, LBB0_41
; %bb.40:
	mov	x2, x0
Lloh80:
	adrp	x1, l_.str.7@PAGE
Lloh81:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_41:
	mov	w24, #0
	b	LBB0_15
LBB0_42:
Lloh82:
	adrp	x1, l_.str.5@PAGE
Lloh83:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_43:
Lloh84:
	adrp	x1, l_.str.6@PAGE
Lloh85:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_44:
	mov	x24, x0
	b	LBB0_15
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SMBUS_BLOCK_MAX,4,2        ; @I2C_SMBUS_BLOCK_MAX
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_BLOCK_DATA,4,2  ; @I2C_FUNC_SMBUS_BLOCK_DATA
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_UCD9000_DEVICE_ID,4,2          ; @UCD9000_DEVICE_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read device ID\n"

l_.str.1:                               ; @.str.1
	.asciz	"Device ID %s\n"

	.comm	_ucd9000_id,8,3                 ; @ucd9000_id
l_.str.2:                               ; @.str.2
	.asciz	"Unsupported device\n"

	.comm	_ucd9000,4,2                    ; @ucd9000
l_.str.3:                               ; @.str.3
	.asciz	"Device mismatch: Configured %s, detected %s\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_UCD9000_NUM_PAGES,4,2          ; @UCD9000_NUM_PAGES
l_.str.4:                               ; @.str.4
	.asciz	"Failed to read number of active pages\n"

l_.str.5:                               ; @.str.5
	.asciz	"No pages configured\n"

	.comm	_PMBUS_HAVE_TEMP,4,2            ; @PMBUS_HAVE_TEMP
	.comm	_UCD9000_MONITOR_CONFIG,4,2     ; @UCD9000_MONITOR_CONFIG
l_.str.6:                               ; @.str.6
	.asciz	"Failed to read configuration data\n"

	.comm	_PMBUS_HAVE_VOUT,4,2            ; @PMBUS_HAVE_VOUT
	.comm	_PMBUS_HAVE_STATUS_VOUT,4,2     ; @PMBUS_HAVE_STATUS_VOUT
	.comm	_PMBUS_HAVE_TEMP2,4,2           ; @PMBUS_HAVE_TEMP2
	.comm	_PMBUS_HAVE_STATUS_TEMP,4,2     ; @PMBUS_HAVE_STATUS_TEMP
	.comm	_PMBUS_HAVE_IOUT,4,2            ; @PMBUS_HAVE_IOUT
	.comm	_PMBUS_HAVE_STATUS_IOUT,4,2     ; @PMBUS_HAVE_STATUS_IOUT
	.comm	_ucd90124,8,3                   ; @ucd90124
	.comm	_UCD9000_NUM_FAN,4,2            ; @UCD9000_NUM_FAN
	.comm	_UCD9000_FAN_CONFIG_INDEX,4,2   ; @UCD9000_FAN_CONFIG_INDEX
	.comm	_UCD9000_FAN_CONFIG,4,2         ; @UCD9000_FAN_CONFIG
	.comm	_ucd9000_read_byte_data,4,2     ; @ucd9000_read_byte_data
	.comm	_PMBUS_HAVE_FAN12,4,2           ; @PMBUS_HAVE_FAN12
	.comm	_PMBUS_HAVE_STATUS_FAN12,4,2    ; @PMBUS_HAVE_STATUS_FAN12
	.comm	_PMBUS_HAVE_FAN34,4,2           ; @PMBUS_HAVE_FAN34
	.comm	_PMBUS_HAVE_STATUS_FAN34,4,2    ; @PMBUS_HAVE_STATUS_FAN34
l_.str.7:                               ; @.str.7
	.asciz	"Failed to register debugfs: %d\n"

	.no_dead_strip	_ucd9000_probe
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ucd9000_probe
l_switch.table.ucd9000_probe:
	.quad	_PMBUS_HAVE_VOUT
	.quad	_PMBUS_HAVE_VOUT
	.quad	_PMBUS_HAVE_TEMP2
	.quad	_PMBUS_HAVE_IOUT

	.p2align	3                               ; @switch.table.ucd9000_probe.8
l_switch.table.ucd9000_probe.8:
	.quad	_PMBUS_HAVE_STATUS_VOUT
	.quad	_PMBUS_HAVE_STATUS_VOUT
	.quad	_PMBUS_HAVE_STATUS_TEMP
	.quad	_PMBUS_HAVE_STATUS_IOUT

.subsections_via_symbols
