	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_sctp_recvmsg
_ff_sctp_recvmsg:                       ## @ff_sctp_recvmsg
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$4, %edi
	callq	_CMSG_SPACE
	movl	%eax, %ebx
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movl	%eax, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -64(%rbp)
	movq	%r15, -136(%rbp)
	movq	%r14, -144(%rbp)
	movq	%r13, -72(%rbp)
	xorl	%edx, %edx
	movl	$0, %ecx
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	(%r12), %ecx
LBB0_2:
	movl	%ecx, -88(%rbp)
	leaq	-144(%rbp), %rcx
	movq	%rcx, -80(%rbp)
	movl	$1, -112(%rbp)
	movq	%rax, -104(%rbp)
	movl	%ebx, -96(%rbp)
	movq	16(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edx
LBB0_4:
	leaq	-112(%rbp), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_recvmsg
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_15
## %bb.5:
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	movl	-88(%rbp), %eax
	movl	%eax, (%r12)
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movl	-92(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_9:
	leaq	-112(%rbp), %rdi
	callq	_CMSG_FIRSTHDR
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	_IPPROTO_SCTP@GOTPCREL(%rip), %r14
	movq	_SCTP_SNDRCV@GOTPCREL(%rip), %r12
	leaq	-112(%rbp), %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_CMSG_NXTHDR
	testq	%rax, %rax
	je	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_13
## %bb.14:
	movq	%rax, %rdi
	callq	_CMSG_DATA
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
LBB0_15:
	movq	-128(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_SCTP,8,3               ## @IPPROTO_SCTP
	.comm	_SCTP_SNDRCV,8,3                ## @SCTP_SNDRCV
	.no_dead_strip	_ff_sctp_recvmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_sctp_recvmsg
_ff_sctp_recvmsg:                       ; @ff_sctp_recvmsg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #80
	mov	x20, x6
	mov	x19, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w0, #4
	bl	_CMSG_SPACE
	mov	x26, sp
	mov	w8, w0
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x8, x9, x8
	mov	sp, x8
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-128]
	stur	q0, [x29, #-144]
	stp	x24, x25, [x29, #-88]
	stp	x23, xzr, [x29, #-104]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	w9, [x21]
	b	LBB0_3
LBB0_2:
	mov	w9, #0
LBB0_3:
	sub	x10, x29, #88
	stur	x10, [x29, #-112]
	mov	w10, #1
	stur	w10, [x29, #-144]
	stur	x8, [x29, #-136]
	stur	w9, [x29, #-120]
	stur	w0, [x29, #-128]
	cbz	x20, LBB0_5
; %bb.4:
	ldr	w2, [x20]
	b	LBB0_6
LBB0_5:
	mov	w2, #0
LBB0_6:
	sub	x1, x29, #144
	mov	x0, x22
	bl	_recvmsg
	mov	x22, x0
	tbnz	w0, #31, LBB0_17
; %bb.7:
	cbz	x21, LBB0_9
; %bb.8:
	ldur	w8, [x29, #-120]
	str	w8, [x21]
LBB0_9:
	cbz	x20, LBB0_11
; %bb.10:
	ldur	w8, [x29, #-124]
	str	w8, [x20]
LBB0_11:
	sub	x0, x29, #144
	bl	_CMSG_FIRSTHDR
	cbz	x0, LBB0_17
; %bb.12:
	mov	x1, x0
Lloh5:
	adrp	x20, _IPPROTO_SCTP@GOTPAGE
Lloh6:
	ldr	x20, [x20, _IPPROTO_SCTP@GOTPAGEOFF]
Lloh7:
	adrp	x21, _SCTP_SNDRCV@GOTPAGE
Lloh8:
	ldr	x21, [x21, _SCTP_SNDRCV@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x0, x29, #144
	bl	_CMSG_NXTHDR
	mov	x1, x0
	cbz	x0, LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x1, #8]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.16:
	mov	x0, x1
	bl	_CMSG_DATA
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
LBB0_17:
	mov	sp, x26
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x22
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_SCTP,8,3               ; @IPPROTO_SCTP
	.comm	_SCTP_SNDRCV,8,3                ; @SCTP_SNDRCV
	.no_dead_strip	_ff_sctp_recvmsg
.subsections_via_symbols
