	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq2415x_get_vender_code
_bq2415x_get_vender_code:               ## @bq2415x_get_vender_code
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BQ2415X_VENDER_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bq2415x_exec_command
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	%eax, %edx
	andl	$2, %edx
	leal	(%rdx,%rdx,4), %edx
	orl	%ecx, %edx
	shrl	$2, %eax
	andl	$1, %eax
	imull	$100, %eax, %eax
	addl	%edx, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BQ2415X_VENDER_CODE,4,2        ## @BQ2415X_VENDER_CODE
	.no_dead_strip	_bq2415x_get_vender_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq2415x_get_vender_code
_bq2415x_get_vender_code:               ; @bq2415x_get_vender_code
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _BQ2415X_VENDER_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BQ2415X_VENDER_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_bq2415x_exec_command
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ubfx	w8, w0, #1, #1
	bfi	w8, w8, #2, #1
	lsl	w8, w8, #1
	bfxil	w8, w0, #0, #1
	ubfx	w9, w0, #2, #1
	mov	w10, #100
	madd	w0, w9, w10, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BQ2415X_VENDER_CODE,4,2        ; @BQ2415X_VENDER_CODE
	.no_dead_strip	_bq2415x_get_vender_code
.subsections_via_symbols
