	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_findassociation_addr_sa   ## -- Begin function sctp_findassociation_addr_sa
	.p2align	4, 0x90
_sctp_findassociation_addr_sa:          ## @sctp_findassociation_addr_sa
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, %ebx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	xorl	%eax, %eax
	callq	_SCTP_INP_INFO_RLOCK
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	jmp	LBB0_4
LBB0_3:
	leaq	-48(%rbp), %rdi
LBB0_4:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	callq	_sctp_tcb_special_locate
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_SCTP_INP_INFO_RUNLOCK
	jmp	LBB0_12
LBB0_6:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	%r13d, %ecx
	callq	_sctp_pcb_findep
	movq	%rax, -48(%rbp)
	testq	%r15, %r15
	je	LBB0_7
## %bb.9:
	movq	%rax, (%r15)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_SCTP_INP_INFO_RUNLOCK
	cmpq	$0, -48(%rbp)
	je	LBB0_12
## %bb.10:
	movq	%r15, %rdi
	jmp	LBB0_11
LBB0_7:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_SCTP_INP_INFO_RUNLOCK
	cmpq	$0, -48(%rbp)
	je	LBB0_12
## %bb.8:
	leaq	-48(%rbp), %rdi
LBB0_11:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_sctp_findassociation_ep_addr
	movq	%rax, %r14
LBB0_12:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_findassociation_addr_sa   ; -- Begin function sctp_findassociation_addr_sa
	.p2align	2
_sctp_findassociation_addr_sa:          ; @sctp_findassociation_addr_sa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x5
	mov	x24, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	bl	_SCTP_INP_INFO_RLOCK
	cbz	w24, LBB0_6
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
	mov	x0, x22
	b	LBB0_4
LBB0_3:
	add	x0, sp, #8
LBB0_4:
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	bl	_sctp_tcb_special_locate
	mov	x24, x0
	cbz	x0, LBB0_6
; %bb.5:
	bl	_SCTP_INP_INFO_RUNLOCK
	b	LBB0_13
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	mov	x3, x23
	bl	_sctp_pcb_findep
	str	x0, [sp, #8]
	cbz	x22, LBB0_9
; %bb.7:
	str	x0, [x22]
	bl	_SCTP_INP_INFO_RUNLOCK
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_12
; %bb.8:
	mov	x0, x22
	b	LBB0_11
LBB0_9:
	bl	_SCTP_INP_INFO_RUNLOCK
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_12
; %bb.10:
	add	x0, sp, #8
LBB0_11:
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, #0
	bl	_sctp_findassociation_ep_addr
	mov	x24, x0
	b	LBB0_13
LBB0_12:
	mov	x24, #0
LBB0_13:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
