	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucan_release_context
_ucan_release_context:                  ## @ucan_release_context
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpl	$0, 12(%r15)
	sete	%dil
	callq	_WARN_ON_ONCE
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%r14)
	je	LBB0_2
## %bb.3:
	movl	$0, (%r14)
	movl	4(%r15), %eax
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	8(%r15), %edi
	callq	_netif_wake_queue
	movl	4(%r15), %eax
LBB0_5:
	incl	%eax
	movl	%eax, 4(%r15)
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_2:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ucan_release_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucan_release_context
_ucan_release_context:                  ; @ucan_release_context
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.3:
	str	wzr, [x20]
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
	bl	_netif_wake_queue
	ldr	w8, [x19, #4]
LBB0_5:
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	w20, #1
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ucan_release_context
.subsections_via_symbols
