	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_addr_id2transport
_sctp_addr_id2transport:                ## @sctp_addr_id2transport
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_sctp_sk
	movl	(%rax), %edi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rsi
	callq	_sctp_endpoint_lookup_assoc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_sctp_id2assoc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpq	%rbx, %rax
	je	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movl	(%r12), %edi
	callq	_sctp_get_pf_specific
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_sctp_sk
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	*%rbx
	movq	-40(%rbp), %rax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sctp_addr_id2transport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_addr_id2transport
_sctp_addr_id2transport:                ; @sctp_addr_id2transport
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_sctp_sk
	ldr	w0, [x0]
	add	x2, sp, #8
	mov	x1, x19
	bl	_sctp_endpoint_lookup_assoc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_sctp_id2assoc
	cbz	x0, LBB0_4
; %bb.2:
	cmp	x0, x22
	b.eq	LBB0_4
; %bb.3:
	mov	x0, #0
	b	LBB0_5
LBB0_4:
	ldr	w0, [x20]
	bl	_sctp_get_pf_specific
	ldr	x21, [x0]
	mov	x0, x20
	bl	_sctp_sk
	mov	x1, x19
	blr	x21
	ldr	x0, [sp, #8]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sctp_addr_id2transport
.subsections_via_symbols
