	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_abx500_hwmon_init              ## -- Begin function abx500_hwmon_init
	.p2align	4, 0x90
_abx500_hwmon_init:                     ## @abx500_hwmon_init
	.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	%rdi, %r15
	movq	48(%rdi), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$28, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_ab8500_gpadc_get
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	24(%rbx), %edi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_8
LBB0_5:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_ab8500_btemp_get
	movl	%eax, 20(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	20(%rbx), %edi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	addq	$16, %rdi
	movq	_ab8500_thermal_power_off@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	_THERMAL_VCC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_PULL_UP_RESISTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ab8500_temp_tbl_a_thermistor@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ab8500_temp_tbl_a_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, 40(%r15)
	movq	_ADC_AUX1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%r15), %rcx
	movl	%eax, (%rcx)
	movq	_ADC_AUX2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_BTEMP_BALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movq	_BAT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movq	_NUM_MONITORED_SENSORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_ab8500_read_sensor@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_ab8500_temp_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_ab8500_show_name@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_ab8500_show_label@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	$0, (%r15)
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ab8500-gpadc.0"

	.comm	_ab8500_thermal_power_off,4,2   ## @ab8500_thermal_power_off
	.comm	_THERMAL_VCC,4,2                ## @THERMAL_VCC
	.comm	_PULL_UP_RESISTOR,4,2           ## @PULL_UP_RESISTOR
	.comm	_ab8500_temp_tbl_a_thermistor,4,2 ## @ab8500_temp_tbl_a_thermistor
	.comm	_ab8500_temp_tbl_a_size,4,2     ## @ab8500_temp_tbl_a_size
	.comm	_ADC_AUX1,4,2                   ## @ADC_AUX1
	.comm	_ADC_AUX2,4,2                   ## @ADC_AUX2
	.comm	_BTEMP_BALL,4,2                 ## @BTEMP_BALL
	.comm	_BAT_CTRL,4,2                   ## @BAT_CTRL
	.comm	_NUM_MONITORED_SENSORS,4,2      ## @NUM_MONITORED_SENSORS
	.comm	_ab8500_read_sensor,4,2         ## @ab8500_read_sensor
	.comm	_ab8500_temp_irq_handler,4,2    ## @ab8500_temp_irq_handler
	.comm	_ab8500_show_name,4,2           ## @ab8500_show_name
	.comm	_ab8500_show_label,4,2          ## @ab8500_show_label
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_abx500_hwmon_init              ; -- Begin function abx500_hwmon_init
	.p2align	2
_abx500_hwmon_init:                     ; @abx500_hwmon_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #48]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #28
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ab8500_gpadc_get
	str	w0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x20, #24]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	bl	_ab8500_btemp_get
	str	w0, [x20, #20]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x20, #20]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_7:
	add	x0, x20, #16
Lloh8:
	adrp	x8, _ab8500_thermal_power_off@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ab8500_thermal_power_off@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	mov	w0, #0
Lloh11:
	adrp	x8, _THERMAL_VCC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _THERMAL_VCC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _PULL_UP_RESISTOR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PULL_UP_RESISTOR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #8]
Lloh17:
	adrp	x8, _ab8500_temp_tbl_a_thermistor@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ab8500_temp_tbl_a_thermistor@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _ab8500_temp_tbl_a_size@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ab8500_temp_tbl_a_size@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	str	x20, [x19, #40]
Lloh23:
	adrp	x8, _ADC_AUX1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ADC_AUX1@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	x9, [x19, #32]
	str	w8, [x9]
Lloh26:
	adrp	x8, _ADC_AUX2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ADC_AUX2@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x10, _BTEMP_BALL@GOTPAGE
Lloh30:
	ldr	x10, [x10, _BTEMP_BALL@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
Lloh32:
	adrp	x11, _BAT_CTRL@GOTPAGE
Lloh33:
	ldr	x11, [x11, _BAT_CTRL@GOTPAGEOFF]
	stp	w8, w10, [x9, #4]
Lloh34:
	ldr	w8, [x11]
	str	w8, [x9, #12]
Lloh35:
	adrp	x8, _NUM_MONITORED_SENSORS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NUM_MONITORED_SENSORS@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh38:
	adrp	x8, _ab8500_read_sensor@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ab8500_read_sensor@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _ab8500_temp_irq_handler@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ab8500_temp_irq_handler@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh44:
	adrp	x8, _ab8500_show_name@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ab8500_show_name@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	adrp	x9, _ab8500_show_label@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ab8500_show_label@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	str	xzr, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ab8500-gpadc.0"

	.comm	_ab8500_thermal_power_off,4,2   ; @ab8500_thermal_power_off
	.comm	_THERMAL_VCC,4,2                ; @THERMAL_VCC
	.comm	_PULL_UP_RESISTOR,4,2           ; @PULL_UP_RESISTOR
	.comm	_ab8500_temp_tbl_a_thermistor,4,2 ; @ab8500_temp_tbl_a_thermistor
	.comm	_ab8500_temp_tbl_a_size,4,2     ; @ab8500_temp_tbl_a_size
	.comm	_ADC_AUX1,4,2                   ; @ADC_AUX1
	.comm	_ADC_AUX2,4,2                   ; @ADC_AUX2
	.comm	_BTEMP_BALL,4,2                 ; @BTEMP_BALL
	.comm	_BAT_CTRL,4,2                   ; @BAT_CTRL
	.comm	_NUM_MONITORED_SENSORS,4,2      ; @NUM_MONITORED_SENSORS
	.comm	_ab8500_read_sensor,4,2         ; @ab8500_read_sensor
	.comm	_ab8500_temp_irq_handler,4,2    ; @ab8500_temp_irq_handler
	.comm	_ab8500_show_name,4,2           ; @ab8500_show_name
	.comm	_ab8500_show_label,4,2          ; @ab8500_show_label
.subsections_via_symbols
