	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_async_error
_set_async_error:                       ## @set_async_error
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movl	%ebx, (%r15)
	movq	16(%r15), %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15)
	testq	%rbx, %rbx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r15
	movl	(%rbx), %edi
	callq	_CFRelease
	movq	%rbx, %rdi
	callq	_av_free
	movq	%r15, %rbx
	testq	%r15, %r15
	jne	LBB0_1
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_async_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_async_error
_set_async_error:                       ; @set_async_error
	.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	x21, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_pthread_mutex_lock
	str	w20, [x21]
	ldr	x20, [x21, #16]
	stp	xzr, xzr, [x21, #8]
	cbz	x20, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20, #8]
	ldr	w0, [x20]
	bl	_CFRelease
	mov	x0, x20
	bl	_av_free
	mov	x20, x21
	cbnz	x21, LBB0_1
LBB0_2:
	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
	b	_pthread_mutex_unlock
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_async_error
.subsections_via_symbols
