	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocontext_destroy
_ocontext_destroy:                      ## @ocontext_destroy
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_context_destroy
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	callq	_context_destroy
	movq	_OCON_ISID@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_OCON_FS@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_OCON_NETIF@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_OCON_FSUSE@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_6
LBB0_5:
	movq	(%rbx), %rdi
	callq	_kfree
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCON_ISID,4,2                  ## @OCON_ISID
	.comm	_OCON_FS,4,2                    ## @OCON_FS
	.comm	_OCON_NETIF,4,2                 ## @OCON_NETIF
	.comm	_OCON_FSUSE,4,2                 ## @OCON_FSUSE
	.no_dead_strip	_ocontext_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocontext_destroy
_ocontext_destroy:                      ; @ocontext_destroy
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	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	x0, [x0, #8]
	bl	_context_destroy
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	bl	_context_destroy
Lloh0:
	adrp	x8, _OCON_ISID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCON_ISID@GOTPAGEOFF]
Lloh2:
	adrp	x9, _OCON_FS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _OCON_FS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _OCON_NETIF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _OCON_NETIF@GOTPAGEOFF]
Lloh8:
	adrp	x11, _OCON_FSUSE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _OCON_FSUSE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	ldr	w11, [x11]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	ccmp	w10, w20, #4, ne
	ccmp	w11, w20, #4, ne
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [x19]
	bl	_kfree
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OCON_ISID,4,2                  ; @OCON_ISID
	.comm	_OCON_FS,4,2                    ; @OCON_FS
	.comm	_OCON_NETIF,4,2                 ; @OCON_NETIF
	.comm	_OCON_FSUSE,4,2                 ; @OCON_FSUSE
	.no_dead_strip	_ocontext_destroy
.subsections_via_symbols
