	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps65911_comparator_probe
_tps65911_comparator_probe:             ## @tps65911_comparator_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
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_dev_get_platdata
	movq	%rax, %r12
	movq	_COMP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %edx
	movq	%r15, %rdi
	callq	_comp_threshold_set
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_COMP2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_comp_threshold_set
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_dev_attr_comp1_threshold@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_6:
	movq	_dev_attr_comp2_threshold@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_9
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	movq	%r14, %rdi
	callq	_dev_err
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP1,4,2                      ## @COMP1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot set COMP1 threshold\n"

	.comm	_COMP2,4,2                      ## @COMP2
L_.str.1:                               ## @.str.1
	.asciz	"cannot set COMP2 threshold\n"

	.comm	_dev_attr_comp1_threshold,4,2   ## @dev_attr_comp1_threshold
L_.str.2:                               ## @.str.2
	.asciz	"failed to add COMP1 sysfs file\n"

	.comm	_dev_attr_comp2_threshold,4,2   ## @dev_attr_comp2_threshold
L_.str.3:                               ## @.str.3
	.asciz	"failed to add COMP2 sysfs file\n"

	.no_dead_strip	_tps65911_comparator_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps65911_comparator_probe
_tps65911_comparator_probe:             ; @tps65911_comparator_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
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x21, x0
	ldr	w0, [x0]
	bl	_dev_get_platdata
	mov	x22, x0
Lloh0:
	adrp	x8, _COMP1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0, #4]
	mov	x0, x21
	bl	_comp_threshold_set
	tbnz	w0, #31, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _COMP2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMP2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x21
	bl	_comp_threshold_set
	tbnz	w0, #31, LBB0_7
; %bb.2:
Lloh6:
	adrp	x1, _dev_attr_comp1_threshold@GOTPAGE
Lloh7:
	ldr	x1, [x1, _dev_attr_comp1_threshold@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	tbz	w0, #31, LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_4:
Lloh10:
	adrp	x1, _dev_attr_comp2_threshold@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_attr_comp2_threshold@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	mov	x20, x0
	tbz	w0, #31, LBB0_9
; %bb.5:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:
	mov	x20, x0
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
	mov	x20, x0
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
LBB0_9:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP1,4,2                      ; @COMP1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot set COMP1 threshold\n"

	.comm	_COMP2,4,2                      ; @COMP2
l_.str.1:                               ; @.str.1
	.asciz	"cannot set COMP2 threshold\n"

	.comm	_dev_attr_comp1_threshold,4,2   ; @dev_attr_comp1_threshold
l_.str.2:                               ; @.str.2
	.asciz	"failed to add COMP1 sysfs file\n"

	.comm	_dev_attr_comp2_threshold,4,2   ; @dev_attr_comp2_threshold
l_.str.3:                               ; @.str.3
	.asciz	"failed to add COMP2 sysfs file\n"

	.no_dead_strip	_tps65911_comparator_probe
.subsections_via_symbols
