	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_release_sock                   ## -- Begin function release_sock
	.p2align	4, 0x90
_release_sock:                          ## @release_sock
	.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	%rdi, %rbx
	addq	$16, %rdi
	movq	__RET_IP_@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_mutex_release
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	___release_sock
LBB0_2:
	movq	24(%rbx), %rdi
	movq	_RHEL_PROTO_HAS_RELEASE_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_proto_has_rhel_ext
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_5:
	movq	$0, 8(%rbx)
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_waitqueue_active
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_wake_up
LBB0_7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__RET_IP_,4,2                   ## @_RET_IP_
	.comm	_RHEL_PROTO_HAS_RELEASE_CB,4,2  ## @RHEL_PROTO_HAS_RELEASE_CB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_release_sock                   ; -- Begin function release_sock
	.p2align	2
_release_sock:                          ; @release_sock
	.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	x19, x0
	add	x0, x0, #16
Lloh0:
	adrp	x8, __RET_IP_@GOTPAGE
Lloh1:
	ldr	x8, [x8, __RET_IP_@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_mutex_release
	mov	x0, x19
	bl	_spin_lock_bh
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	___release_sock
LBB0_2:
	ldr	x0, [x19, #24]
Lloh3:
	adrp	x8, _RHEL_PROTO_HAS_RELEASE_CB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RHEL_PROTO_HAS_RELEASE_CB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_proto_has_rhel_ext
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	blr	x8
LBB0_5:
	str	xzr, [x19, #8]
	add	x20, x19, #4
	mov	x0, x20
	bl	_waitqueue_active
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_wake_up
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__RET_IP_,4,2                   ; @_RET_IP_
	.comm	_RHEL_PROTO_HAS_RELEASE_CB,4,2  ; @RHEL_PROTO_HAS_RELEASE_CB
.subsections_via_symbols
