	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq25890_state_changed
_bq25890_state_changed:                 ## @bq25890_state_changed
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_mutex_lock
	movq	8(%rbx), %r13
	movq	16(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %r12
	movq	48(%rbx), %r15
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	$1, %eax
	cmpq	(%r14), %r13
	jne	LBB0_6
## %bb.1:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpq	8(%r14), %rbx
	jne	LBB0_6
## %bb.2:
	cmpq	16(%r14), %rdi
	jne	LBB0_6
## %bb.3:
	cmpq	24(%r14), %rsi
	jne	LBB0_6
## %bb.4:
	cmpq	32(%r14), %r12
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpq	40(%r14), %r15
	setne	%al
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bq25890_state_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq25890_state_changed
_bq25890_state_changed:                 ; @bq25890_state_changed
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_mutex_lock
	ldp	x26, x25, [x20, #8]
	ldp	x24, x23, [x20, #24]
	ldp	x22, x21, [x20, #40]
	mov	x0, x20
	bl	_mutex_unlock
	ldr	x8, [x19]
	cmp	x26, x8
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x25, x8
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x19, #16]
	cmp	x24, x8
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x19, #24]
	cmp	x23, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x19, #32]
	cmp	x22, x8
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x19, #40]
	cmp	x21, x8
	cset	w0, ne
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bq25890_state_changed
.subsections_via_symbols
