	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_make_abort_user           ## -- Begin function sctp_make_abort_user
	.p2align	4, 0x90
_sctp_make_abort_user:                  ## @sctp_make_abort_user
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	addl	$4, %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_sctp_make_abort
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	testq	%r13, %r13
	je	LBB0_6
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r15
	movl	(%r12), %esi
	movq	%rax, %rdi
	movq	%r13, %rdx
	callq	_memcpy_fromiovec
	testl	%eax, %eax
	jns	LBB0_7
## %bb.4:
	movq	%r15, %rdi
	callq	_kfree
LBB0_5:
	movq	%r14, %rdi
	callq	_sctp_chunk_free
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	_SCTP_ERROR_USER_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_sctp_init_cause
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_sctp_addto_chunk
	testq	%r13, %r13
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_kfree
LBB0_9:
	movq	%r14, %rbx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_SCTP_ERROR_USER_ABORT,4,2      ## @SCTP_ERROR_USER_ABORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_make_abort_user           ; -- Begin function sctp_make_abort_user
	.p2align	2
_sctp_make_abort_user:                  ; @sctp_make_abort_user
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x22, x1
	add	w2, w20, #4
	mov	x1, #0
	bl	_sctp_make_abort
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	cbz	x20, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	ldr	w1, [x22]
	mov	x2, x20
	bl	_memcpy_fromiovec
	tbz	w0, #31, LBB0_7
; %bb.4:
	mov	x0, x21
	bl	_kfree
LBB0_5:
	mov	x0, x19
	bl	_sctp_chunk_free
	mov	x19, #0
	b	LBB0_9
LBB0_6:
	mov	x21, #0
LBB0_7:
Lloh3:
	adrp	x8, _SCTP_ERROR_USER_ABORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_ERROR_USER_ABORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_sctp_init_cause
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_sctp_addto_chunk
	cbz	x20, LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_kfree
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_SCTP_ERROR_USER_ABORT,4,2      ; @SCTP_ERROR_USER_ABORT
.subsections_via_symbols
