	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdp_accept
_sdp_accept:                            ## @sdp_accept
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SS_ISDISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_ECONNABORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	%rsi, %r14
	movq	$0, -40(%rbp)
	callq	_sdp_sk
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_SDP_WLOCK
	movq	_SDP_TIMEWAIT@GOTPCREL(%rip), %rax
	movq	_SDP_DROPPED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r12)
	je	LBB0_3
## %bb.4:
	movq	_ECONNABORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_SDP_WUNLOCK
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.5:
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_3:
	movq	8(%r12), %rax
	movq	16(%r12), %r15
	movq	%rax, -40(%rbp)
	movq	%r12, %rdi
	callq	_SDP_WUNLOCK
LBB0_6:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_sdp_sockaddr
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SS_ISDISCONNECTED,4,2          ## @SS_ISDISCONNECTED
	.comm	_ECONNABORTED,4,2               ## @ECONNABORTED
	.comm	_SDP_TIMEWAIT,4,2               ## @SDP_TIMEWAIT
	.comm	_SDP_DROPPED,4,2                ## @SDP_DROPPED
	.no_dead_strip	_sdp_accept
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdp_accept
_sdp_accept:                            ; @sdp_accept
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SS_ISDISCONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SS_ISDISCONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ECONNABORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECONNABORTED@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	b	LBB0_7
LBB0_2:
	mov	x19, x1
	str	xzr, [sp, #8]
	bl	_sdp_sk
	mov	x20, x0
	bl	_SDP_WLOCK
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _SDP_TIMEWAIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDP_TIMEWAIT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _SDP_DROPPED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SDP_DROPPED@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh12:
	adrp	x8, _ECONNABORTED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ECONNABORTED@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_SDP_WUNLOCK
	cbnz	w21, LBB0_7
; %bb.4:
	mov	x21, #0
	b	LBB0_6
LBB0_5:
	ldp	x8, x21, [x20, #8]
	str	x8, [sp, #8]
	mov	x0, x20
	bl	_SDP_WUNLOCK
LBB0_6:
	add	x1, sp, #8
	mov	x0, x21
	bl	_sdp_sockaddr
	mov	w21, #0
	str	x0, [x19]
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SS_ISDISCONNECTED,4,2          ; @SS_ISDISCONNECTED
	.comm	_ECONNABORTED,4,2               ; @ECONNABORTED
	.comm	_SDP_TIMEWAIT,4,2               ; @SDP_TIMEWAIT
	.comm	_SDP_DROPPED,4,2                ; @SDP_DROPPED
	.no_dead_strip	_sdp_accept
.subsections_via_symbols
