	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_wfree                     ## -- Begin function sock_wfree
	.p2align	4, 0x90
_sock_wfree:                            ## @sock_wfree
	.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	8(%rdi), %r14
	movl	(%rdi), %ebx
	movq	_SOCK_USE_WRITE_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	decl	%ebx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_atomic_sub
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	$1, %ebx
LBB0_2:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_atomic_sub_and_test
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___sk_free                      ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_USE_WRITE_QUEUE,4,2       ## @SOCK_USE_WRITE_QUEUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_wfree                     ; -- Begin function sock_wfree
	.p2align	2
_sock_wfree:                            ; @sock_wfree
	.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, #8]
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _SOCK_USE_WRITE_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_USE_WRITE_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_2
; %bb.1:
	sub	w0, w20, #1
	mov	x1, x19
	bl	_atomic_sub
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	mov	w20, #1
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_atomic_sub_and_test
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___sk_free
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_USE_WRITE_QUEUE,4,2       ; @SOCK_USE_WRITE_QUEUE
.subsections_via_symbols
