	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_v4_err                    ## -- Begin function sctp_v4_err
	.p2align	4, 0x90
_sctp_v4_err:                           ## @sctp_v4_err
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movl	(%rax), %r15d
	callq	_icmp_hdr
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_icmp_hdr
	movslq	4(%rax), %r12
	movq	$0, -48(%rbp)
	leal	8(,%r15,4), %eax
	cmpl	%eax, (%rbx)
	jge	LBB0_1
## %bb.21:
	movq	_ICMP_MIB_INERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_init_net@GOTPCREL(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ICMP_INC_STATS_BH              ## TAILCALL
LBB0_1:
	shll	$2, %r15d
	movups	8(%rbx), %xmm0
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	movq	%rbx, %rdi
	callq	_skb_reset_network_header
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_skb_set_transport_header
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_sctp_hdr
	leaq	-48(%rbp), %rcx
	leaq	-56(%rbp), %r8
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_sctp_err_lookup
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	movups	%xmm0, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	cmpl	$128, %r13d
	je	LBB0_13
## %bb.4:
	cmpl	$129, %r13d
	je	LBB0_5
## %bb.6:
	cmpl	$130, %r13d
	jne	LBB0_19
## %bb.7:
	movq	_NR_ICMP_UNREACH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jg	LBB0_19
## %bb.8:
	movq	_ICMP_FRAG_NEEDED@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r14d, %ecx
	callq	_sctp_icmp_frag_needed
	jmp	LBB0_19
LBB0_2:
	movq	_ICMP_MIB_INERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_ICMP_INC_STATS_BH
	jmp	LBB0_20
LBB0_13:
	movq	_ICMP_EXC_FRAGTIME@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_19
## %bb.14:
	movq	_EHOSTUNREACH@GOTPCREL(%rip), %r12
	jmp	LBB0_15
LBB0_5:
	movq	_EPROTO@GOTPCREL(%rip), %r12
LBB0_15:
	movl	(%r12), %ebx
	movq	%r15, %rdi
	callq	_inet_sk
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_sock_owned_by_user
	testl	%eax, %eax
	je	LBB0_16
LBB0_18:
	movl	%ebx, 4(%r15)
	jmp	LBB0_19
LBB0_16:
	cmpq	$0, (%r14)
	je	LBB0_18
## %bb.17:
	movl	%ebx, (%r15)
	movq	%r15, %rdi
	callq	*8(%r15)
	jmp	LBB0_19
LBB0_10:
	movq	_ICMP_PROT_UNREACH@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_sctp_icmp_proto_unreachable
LBB0_19:
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_sctp_err_finish
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_icmp_err_convert@GOTPCREL(%rip), %rax
	shlq	$2, %r12
	addq	(%rax), %r12
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
	.comm	_ICMP_MIB_INERRORS,4,2          ## @ICMP_MIB_INERRORS
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_NR_ICMP_UNREACH,4,2            ## @NR_ICMP_UNREACH
	.comm	_ICMP_FRAG_NEEDED,4,2           ## @ICMP_FRAG_NEEDED
	.comm	_ICMP_PROT_UNREACH,4,2          ## @ICMP_PROT_UNREACH
	.comm	_icmp_err_convert,8,3           ## @icmp_err_convert
	.comm	_ICMP_EXC_FRAGTIME,4,2          ## @ICMP_EXC_FRAGTIME
	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_v4_err                    ; -- Begin function sctp_v4_err
	.p2align	2
_sctp_v4_err:                           ; @sctp_v4_err
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
	lsl	w19, w8, #2
	bl	_icmp_hdr
	ldr	w23, [x0]
	mov	x0, x21
	bl	_icmp_hdr
	ldrsw	x22, [x0, #4]
	str	xzr, [sp, #8]
	ldr	w8, [x21]
	add	w9, w19, #8
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ICMP_MIB_INERRORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICMP_MIB_INERRORS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, _init_net@GOTPAGE
Lloh4:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ICMP_INC_STATS_BH
LBB0_2:
	ldp	x25, x24, [x21, #8]
	mov	x0, x21
	bl	_skb_reset_network_header
	mov	x0, x21
	mov	x1, x19
	bl	_skb_set_transport_header
Lloh5:
	adrp	x8, _AF_INET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
	mov	x0, x21
	bl	_sctp_hdr
	mov	x2, x0
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x19
	mov	x1, x21
	bl	_sctp_err_lookup
	stp	x25, x24, [x21, #8]
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
	cmp	w23, #128
	b.eq	LBB0_10
; %bb.4:
	cmp	w23, #129
	b.eq	LBB0_12
; %bb.5:
	cmp	w23, #130
	b.ne	LBB0_19
; %bb.6:
Lloh8:
	adrp	x8, _NR_ICMP_UNREACH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NR_ICMP_UNREACH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w22, w8
	b.gt	LBB0_19
; %bb.7:
Lloh11:
	adrp	x8, _ICMP_FRAG_NEEDED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ICMP_FRAG_NEEDED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_17
; %bb.8:
	ldp	x2, x1, [sp]
	mov	x0, x19
	mov	x3, x20
	bl	_sctp_icmp_frag_needed
	b	LBB0_19
LBB0_9:
Lloh14:
	adrp	x8, _ICMP_MIB_INERRORS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ICMP_MIB_INERRORS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x0, _init_net@GOTPAGE
Lloh18:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_ICMP_INC_STATS_BH
	b	LBB0_20
LBB0_10:
Lloh19:
	adrp	x8, _ICMP_EXC_FRAGTIME@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ICMP_EXC_FRAGTIME@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w22
	b.eq	LBB0_19
; %bb.11:
Lloh22:
	adrp	x8, _EHOSTUNREACH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EHOSTUNREACH@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh24:
	adrp	x8, _EPROTO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
LBB0_13:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_inet_sk
	mov	x20, x0
	mov	x0, x19
	bl	_sock_owned_by_user
	cbz	w0, LBB0_15
LBB0_14:
	str	w21, [x19, #4]
	b	LBB0_19
LBB0_15:
	ldr	x8, [x20]
	cbz	x8, LBB0_14
; %bb.16:
	str	w21, [x19]
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	b	LBB0_19
LBB0_17:
Lloh26:
	adrp	x8, _ICMP_PROT_UNREACH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ICMP_PROT_UNREACH@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_21
; %bb.18:
	ldp	x2, x1, [sp]
	mov	x0, x19
	bl	_sctp_icmp_proto_unreachable
LBB0_19:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_sctp_err_finish
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_21:
Lloh29:
	adrp	x8, _icmp_err_convert@GOTPAGE
Lloh30:
	ldr	x8, [x8, _icmp_err_convert@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	add	x8, x8, x22, lsl #2
	b	LBB0_13
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
	.comm	_ICMP_MIB_INERRORS,4,2          ; @ICMP_MIB_INERRORS
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_NR_ICMP_UNREACH,4,2            ; @NR_ICMP_UNREACH
	.comm	_ICMP_FRAG_NEEDED,4,2           ; @ICMP_FRAG_NEEDED
	.comm	_ICMP_PROT_UNREACH,4,2          ; @ICMP_PROT_UNREACH
	.comm	_icmp_err_convert,8,3           ; @icmp_err_convert
	.comm	_ICMP_EXC_FRAGTIME,4,2          ; @ICMP_EXC_FRAGTIME
	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
.subsections_via_symbols
