	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__Block_release                 ## -- Begin function _Block_release
	.p2align	4, 0x90
__Block_release:                        ## @_Block_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	callq	_latching_decr_int
	movq	_BLOCK_REFCOUNT_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jle	LBB0_2
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %eax
	movq	_BLOCK_IS_GC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.9:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__Block_setHasRefcount          ## TAILCALL
LBB0_3:
	movq	_BLOCK_NEEDS_FREE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.4:
	movq	_BLOCK_HAS_COPY_DISPOSE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__Block_deallocator             ## TAILCALL
LBB0_7:
	movq	_BLOCK_IS_GLOBAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.10:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_REFCOUNT_MASK,4,2        ## @BLOCK_REFCOUNT_MASK
	.comm	_BLOCK_IS_GC,4,2                ## @BLOCK_IS_GC
	.comm	_BLOCK_NEEDS_FREE,4,2           ## @BLOCK_NEEDS_FREE
	.comm	_BLOCK_HAS_COPY_DISPOSE,4,2     ## @BLOCK_HAS_COPY_DISPOSE
	.comm	_BLOCK_IS_GLOBAL,4,2            ## @BLOCK_IS_GLOBAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Block_release called upon a stack Block: %p, ignored\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__Block_release                 ; -- Begin function _Block_release
	.p2align	2
__Block_release:                        ; @_Block_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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_latching_decr_int
Lloh0:
	adrp	x8, _BLOCK_REFCOUNT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLOCK_REFCOUNT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.le	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _BLOCK_IS_GC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BLOCK_IS_GC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__Block_setHasRefcount
LBB0_5:
Lloh6:
	adrp	x9, _BLOCK_NEEDS_FREE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BLOCK_NEEDS_FREE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
Lloh9:
	adrp	x9, _BLOCK_HAS_COPY_DISPOSE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BLOCK_HAS_COPY_DISPOSE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__Block_deallocator
LBB0_9:
Lloh12:
	adrp	x9, _BLOCK_IS_GLOBAL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BLOCK_IS_GLOBAL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.10:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_REFCOUNT_MASK,4,2        ; @BLOCK_REFCOUNT_MASK
	.comm	_BLOCK_IS_GC,4,2                ; @BLOCK_IS_GC
	.comm	_BLOCK_NEEDS_FREE,4,2           ; @BLOCK_NEEDS_FREE
	.comm	_BLOCK_HAS_COPY_DISPOSE,4,2     ; @BLOCK_HAS_COPY_DISPOSE
	.comm	_BLOCK_IS_GLOBAL,4,2            ; @BLOCK_IS_GLOBAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Block_release called upon a stack Block: %p, ignored\n"

.subsections_via_symbols
