	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ab8500_show_label
_ab8500_show_label:                     ## @ab8500_show_label
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	callq	_to_sensor_dev_attr
	movl	(%rax), %eax
	decl	%eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_reltable.ab8500_show_label(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ext_adc1"

L_.str.1:                               ## @.str.1
	.asciz	"ext_adc2"

L_.str.2:                               ## @.str.2
	.asciz	"bat_temp"

L_.str.3:                               ## @.str.3
	.asciz	"bat_ctrl"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_ab8500_show_label
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.ab8500_show_label
l_reltable.ab8500_show_label:
	.long	L_.str-l_reltable.ab8500_show_label
	.long	L_.str.1-l_reltable.ab8500_show_label
	.long	L_.str.2-l_reltable.ab8500_show_label
	.long	L_.str.3-l_reltable.ab8500_show_label

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ab8500_show_label
_ab8500_show_label:                     ; @ab8500_show_label
	.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, x2
	mov	x0, x1
	bl	_to_sensor_dev_attr
	ldr	w8, [x0]
	sub	w8, w8, #1
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.ab8500_show_label@PAGE
Lloh1:
	add	x9, x9, l_switch.table.ab8500_show_label@PAGEOFF
	ldr	x2, [x9, w8, sxtw #3]
Lloh2:
	adrp	x1, l_.str.4@PAGE
Lloh3:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
LBB0_2:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ext_adc1"

l_.str.1:                               ; @.str.1
	.asciz	"ext_adc2"

l_.str.2:                               ; @.str.2
	.asciz	"bat_temp"

l_.str.3:                               ; @.str.3
	.asciz	"bat_ctrl"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_ab8500_show_label
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ab8500_show_label
l_switch.table.ab8500_show_label:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

.subsections_via_symbols
