	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq2415x_sysfs_show_reported_mode
_bq2415x_sysfs_show_reported_mode:      ## @bq2415x_sysfs_show_reported_mode
	.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
	callq	_dev_get_drvdata
	movq	%rax, %rdi
	callq	_power_supply_get_drvdata
	cmpq	$0, (%rax)
	js	LBB0_8
## %bb.1:
	movl	8(%rax), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movb	$0, 4(%rbx)
	movl	$174483055, (%rbx)              ## imm = 0xA66666F
	movl	$4, %eax
	jmp	LBB0_9
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movw	$10, 4(%rbx)
	movl	$1701736302, (%rbx)             ## imm = 0x656E6F6E
	movl	$5, %eax
	jmp	LBB0_9
LBB0_5:
	movw	$10, 4(%rbx)
	movl	$1953722216, (%rbx)             ## imm = 0x74736F68
	movl	$5, %eax
	jmp	LBB0_9
LBB0_6:
	movabsq	$7310575174727001444, %rax      ## imm = 0x6574616369646564
	movq	%rax, (%rbx)
	movl	$681061, 7(%rbx)                ## imm = 0xA6465
	movl	$10, %eax
	jmp	LBB0_9
LBB0_7:
	movl	$685171, 3(%rbx)                ## imm = 0xA7473
	movl	$1936682850, (%rbx)             ## imm = 0x736F6F62
	movl	$6, %eax
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"off\n"

L_.str.1:                               ## @.str.1
	.asciz	"none\n"

L_.str.2:                               ## @.str.2
	.asciz	"host\n"

L_.str.3:                               ## @.str.3
	.asciz	"dedicated\n"

L_.str.4:                               ## @.str.4
	.asciz	"boost\n"

	.no_dead_strip	_bq2415x_sysfs_show_reported_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq2415x_sysfs_show_reported_mode
_bq2415x_sysfs_show_reported_mode:      ; @bq2415x_sysfs_show_reported_mode
	.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
	bl	_dev_get_drvdata
	bl	_power_supply_get_drvdata
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_4
; %bb.1:
	ldr	w8, [x0, #8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	strb	wzr, [x19, #4]
	mov	w8, #26223
	movk	w8, #2662, lsl #16
	str	w8, [x19]
	mov	w0, #4
	b	LBB0_10
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_5:
	mov	w8, #10
	strh	w8, [x19, #4]
	mov	w8, #28526
	movk	w8, #25966, lsl #16
	b	LBB0_7
LBB0_6:
	mov	w8, #10
	strh	w8, [x19, #4]
	mov	w8, #28520
	movk	w8, #29811, lsl #16
LBB0_7:
	str	w8, [x19]
	mov	w0, #5
	b	LBB0_10
LBB0_8:
	mov	w8, #25701
	movk	w8, #10, lsl #16
	stur	w8, [x19, #7]
Lloh5:
	adrp	x8, l_.str.3@PAGE
Lloh6:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w0, #10
	b	LBB0_10
LBB0_9:
	mov	w8, #29811
	movk	w8, #10, lsl #16
	stur	w8, [x19, #3]
	mov	w8, #28514
	movk	w8, #29551, lsl #16
	str	w8, [x19]
	mov	w0, #6
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAddLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"off\n"

l_.str.1:                               ; @.str.1
	.asciz	"none\n"

l_.str.2:                               ; @.str.2
	.asciz	"host\n"

l_.str.3:                               ; @.str.3
	.asciz	"dedicated\n"

l_.str.4:                               ; @.str.4
	.asciz	"boost\n"

	.no_dead_strip	_bq2415x_sysfs_show_reported_mode
.subsections_via_symbols
