	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq27xxx_dm_reg_ptr
_bq27xxx_dm_reg_ptr:                    ## @bq27xxx_dm_reg_ptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_4
## %bb.1:
	movl	8(%rdi), %ecx
	movl	8(%rsi), %eax
	movq	_BQ27XXX_DM_SZ@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	cmpl	%eax, %ecx
	jne	LBB0_4
## %bb.2:
	movslq	%edx, %rax
	addq	16(%rdi), %rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BQ27XXX_DM_SZ,4,2              ## @BQ27XXX_DM_SZ
	.no_dead_strip	_bq27xxx_dm_reg_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq27xxx_dm_reg_ptr
_bq27xxx_dm_reg_ptr:                    ; @bq27xxx_dm_reg_ptr
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w11, [x0, #8]
	ldr	w8, [x1, #8]
Lloh0:
	adrp	x9, _BQ27XXX_DM_SZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BQ27XXX_DM_SZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	cmp	w11, w10
	b.ne	LBB0_3
; %bb.2:
	ldr	x11, [x0, #16]
	msub	w8, w10, w9, w8
	add	x0, x11, w8, sxtw
	ret
LBB0_3:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BQ27XXX_DM_SZ,4,2              ; @BQ27XXX_DM_SZ
	.no_dead_strip	_bq27xxx_dm_reg_ptr
.subsections_via_symbols
