	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btmemb_free                    ## -- Begin function btmemb_free
	.p2align	4, 0x90
_btmemb_free:                           ## @btmemb_free
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	__CPU_ISR_Disable
	movl	$-1, %r14d
	cmpq	$0, (%r12)
	jle	LBB0_5
## %bb.1:
	movq	16(%r12), %r13
	addq	$-4, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, %r13
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r12), %edi
	callq	_MEM_ALIGN_SIZE
	cltq
	leaq	16(%r13,%rax,4), %r13
	incq	%rbx
	cmpq	(%r12), %rbx
	jl	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	(%r15), %r14d
	decl	%r14d
	movl	%r14d, (%r15)
LBB0_5:
	callq	__CPU_ISR_Restore
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btmemb_free                    ; -- Begin function btmemb_free
	.p2align	2
_btmemb_free:                           ; @btmemb_free
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	__CPU_ISR_Disable
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
	ldr	x22, [x19, #16]
	sub	x20, x20, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x22, x20
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #8]
	bl	_MEM_ALIGN_SIZE
	add	x8, x22, w0, sxtw #2
	add	x22, x8, #16
	add	x21, x21, #1
	ldr	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_4:
	mov	w19, #-1
	b	LBB0_6
LBB0_5:
	ldr	w8, [x20]
	sub	w19, w8, #1
	str	w19, [x20]
LBB0_6:
	bl	__CPU_ISR_Restore
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
