	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _Block_byref_release
__Block_byref_release:                  ## @_Block_byref_release
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rbx
	movl	(%rbx), %eax
	movq	_BLOCK_NEEDS_FREE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.1:
	movq	_BLOCK_REFCOUNT_MASK@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	jle	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_latching_decr_int
	testl	%eax, (%r14)
	je	LBB0_3
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_3:
	movq	_BLOCK_HAS_COPY_DISPOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*8(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__Block_deallocator             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_NEEDS_FREE,4,2           ## @BLOCK_NEEDS_FREE
	.comm	_BLOCK_REFCOUNT_MASK,4,2        ## @BLOCK_REFCOUNT_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_Block_byref_release: Block byref data structure at %p underflowed\n"

	.comm	_BLOCK_HAS_COPY_DISPOSE,4,2     ## @BLOCK_HAS_COPY_DISPOSE
	.no_dead_strip	__Block_byref_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _Block_byref_release
__Block_byref_release:                  ; @_Block_byref_release
	.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
	ldr	x19, [x0, #16]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _BLOCK_NEEDS_FREE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BLOCK_NEEDS_FREE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _BLOCK_REFCOUNT_MASK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _BLOCK_REFCOUNT_MASK@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.le	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_latching_decr_int
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printf
LBB0_5:
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _BLOCK_HAS_COPY_DISPOSE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BLOCK_HAS_COPY_DISPOSE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__Block_deallocator
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_NEEDS_FREE,4,2           ; @BLOCK_NEEDS_FREE
	.comm	_BLOCK_REFCOUNT_MASK,4,2        ; @BLOCK_REFCOUNT_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_Block_byref_release: Block byref data structure at %p underflowed\n"

	.comm	_BLOCK_HAS_COPY_DISPOSE,4,2     ; @BLOCK_HAS_COPY_DISPOSE
	.no_dead_strip	__Block_byref_release
.subsections_via_symbols
