	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function abx500_temp_probe
_abx500_temp_probe:                     ## @abx500_temp_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 40(%rax)
	leaq	36(%rax), %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	callq	_abx500_hwmon_init
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_14
## %bb.3:
	cmpl	$0, 24(%rbx)
	je	LBB0_14
## %bb.4:
	cmpl	$0, 20(%rbx)
	je	LBB0_14
## %bb.5:
	cmpl	$0, 16(%rbx)
	je	LBB0_14
## %bb.6:
	movq	%rbx, %rdi
	addq	$32, %rdi
	movq	_gpadc_monitor@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DEFERRABLE_WORK
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	_abx500_temp_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_13:
	movq	_abx500_temp_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_14:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_14
LBB0_10:
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rbx)
	je	LBB0_14
## %bb.11:
	movq	%r14, %rdi
	callq	_setup_irqs
	testl	%eax, %eax
	jns	LBB0_14
## %bb.12:
	movl	%eax, %r12d
	movl	(%rbx), %edi
	callq	_hwmon_device_unregister
	movl	%r12d, %r15d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_gpadc_monitor,4,2              ## @gpadc_monitor
	.comm	_abx500_temp_group,4,2          ## @abx500_temp_group
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Create sysfs group failed (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Class registration failed (%d)\n"

	.no_dead_strip	_abx500_temp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function abx500_temp_probe
_abx500_temp_probe:                     ; @abx500_temp_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #40]
	add	x0, x0, #36
	bl	_mutex_init
	mov	x0, x20
	bl	_abx500_hwmon_init
	mov	x21, x0
	tbnz	w0, #31, LBB0_10
; %bb.2:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_10
; %bb.3:
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_10
; %bb.4:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_10
; %bb.5:
	add	x0, x20, #32
Lloh3:
	adrp	x8, _gpadc_monitor@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gpadc_monitor@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_DEFERRABLE_WORK
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh6:
	adrp	x1, _abx500_temp_group@GOTPAGE
Lloh7:
	ldr	x1, [x1, _abx500_temp_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	tbnz	w0, #31, LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w0, [x20]
	bl	_PTR_ERR
	mov	x21, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
LBB0_8:
Lloh10:
	adrp	x1, _abx500_temp_group@GOTPAGE
Lloh11:
	ldr	x1, [x1, _abx500_temp_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x21
	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_11:
	mov	x21, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
	b	LBB0_10
LBB0_12:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_setup_irqs
	tbnz	w0, #31, LBB0_15
LBB0_14:
	mov	w21, #0
	b	LBB0_10
LBB0_15:
	mov	x21, x0
	ldr	w0, [x20]
	bl	_hwmon_device_unregister
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_gpadc_monitor,4,2              ; @gpadc_monitor
	.comm	_abx500_temp_group,4,2          ; @abx500_temp_group
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Create sysfs group failed (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Class registration failed (%d)\n"

	.no_dead_strip	_abx500_temp_probe
.subsections_via_symbols
