	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_copy_one
_sctp_copy_one:                         ## @sctp_copy_one
	.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
	movl	%edx, %ecx
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	_M_WAITOK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	12(%rdi), %edx
	xorl	%r14d, %r14d
	movq	%rax, %rdi
	xorl	%r8d, %r8d
	callq	_m_uiotombuf
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_m_last
	movl	%eax, 8(%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	_SCTP_FROM_SCTP_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ENOBUFS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SCTP_LTRACE_ERR_RET
	movl	(%rbx), %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_SCTP_FROM_SCTP_OUTPUT,4,2      ## @SCTP_FROM_SCTP_OUTPUT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_sctp_copy_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_copy_one
_sctp_copy_one:                         ; @sctp_copy_one
	.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	x3, x2
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _M_WAITOK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _M_WAITOK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	w2, [x0, #12]
	mov	x0, x8
	mov	w4, #0
	bl	_m_uiotombuf
	str	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_m_last
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _SCTP_FROM_SCTP_OUTPUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_FROM_SCTP_OUTPUT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x19, _ENOBUFS@GOTPAGE
Lloh7:
	ldr	x19, [x19, _ENOBUFS@GOTPAGEOFF]
	ldr	w4, [x19]
	mov	x1, #0
	mov	x2, #0
	bl	_SCTP_LTRACE_ERR_RET
	ldr	w0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_SCTP_FROM_SCTP_OUTPUT,4,2      ; @SCTP_FROM_SCTP_OUTPUT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_sctp_copy_one
.subsections_via_symbols
