	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rawv6_send_hdrinc
_rawv6_send_hdrinc:                     ## @rawv6_send_hdrinc
	.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	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_inet6_sk
	movq	8(%rbx), %rdi
	movl	(%rdi), %ecx
	cmpl	%r12d, %ecx
	jge	LBB0_2
## %bb.1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_ipv6_local_error
	xorl	%r14d, %r14d
	subl	(%r15), %r14d
	jmp	LBB0_11
LBB0_2:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_MSG_PROBE@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%rax)
	jne	LBB0_11
## %bb.3:
	movslq	%r12d, %r14
	callq	_LL_ALLOCATED_SPACE
	leaq	(%r14,%rax), %rsi
	addq	$15, %rsi
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_sock_alloc_send_skb
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movl	%r12d, %r15d
	movq	%rax, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	8(%r14), %rbx
	movq	(%rbx), %rdi
	callq	_LL_RESERVED_SPACE
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skb_reserve
	movl	4(%r13), %eax
	movl	%eax, 20(%r12)
	movl	(%r13), %eax
	movl	%eax, 16(%r12)
	movq	%rbx, %rdi
	callq	_dst_clone
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skb_dst_set
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_skb_put
	movq	%r12, %rdi
	callq	_skb_reset_network_header
	movq	%r12, %rdi
	callq	_ipv6_hdr
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r12)
	movl	4(%r12), %ecx
	movl	%ecx, 8(%r12)
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_memcpy_fromiovecend
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_5
## %bb.8:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, -44(%rbp)
	movq	%r12, %rdi
	callq	_kfree_skb
	jmp	LBB0_9
LBB0_5:
	movq	%r13, %rdi
	callq	_sock_net
	movl	(%r14), %esi
	movq	_IPSTATS_MIB_OUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r12), %ecx
	movl	%eax, %edi
	callq	_IP6_UPD_PO_STATS
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NF_INET_LOCAL_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %r8
	movq	_dst_output@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%r14d, %r14d
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_NF_HOOK
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:
	movl	%eax, %edi
	callq	_net_xmit_errno
	movl	%eax, -44(%rbp)
LBB0_7:
	testl	%eax, %eax
	je	LBB0_11
LBB0_9:
	movq	%r13, %rdi
	callq	_sock_net
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %esi
	movq	_IPSTATS_MIB_OUTDISCARDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_IP6_INC_STATS
	movl	-44(%rbp), %r14d
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jne	LBB0_11
## %bb.10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	testl	%eax, %eax
	cmovel	%eax, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_MSG_PROBE,4,2                  ## @MSG_PROBE
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_IPSTATS_MIB_OUT,4,2            ## @IPSTATS_MIB_OUT
	.comm	_PF_INET6,4,2                   ## @PF_INET6
	.comm	_NF_INET_LOCAL_OUT,4,2          ## @NF_INET_LOCAL_OUT
	.comm	_dst_output,4,2                 ## @dst_output
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_IPSTATS_MIB_OUTDISCARDS,4,2    ## @IPSTATS_MIB_OUTDISCARDS
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_rawv6_send_hdrinc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rawv6_send_hdrinc
_rawv6_send_hdrinc:                     ; @rawv6_send_hdrinc
	.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	x22, x5
	mov	x20, x4
	mov	x26, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	bl	_inet6_sk
	mov	x19, x0
	mov	x25, x20
	ldr	x0, [x25, #8]!
	ldr	w3, [x0]
	cmp	w3, w23
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _EMSGSIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _EMSGSIZE@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	x0, x21
	mov	x2, x26
	bl	_ipv6_local_error
	ldr	w8, [x19]
	neg	w0, w8
	b	LBB0_12
LBB0_2:
Lloh2:
	adrp	x8, _MSG_PROBE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_PROBE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_12
LBB0_4:
	bl	_LL_ALLOCATED_SPACE
	add	x8, x0, w23, sxtw
	add	x1, x8, #15
Lloh5:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w2, w8, w22
	add	x3, sp, #12
	mov	x0, x21
	bl	_sock_alloc_send_skb
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	ldr	x0, [x25]
	bl	_LL_RESERVED_SPACE
	mov	x1, x0
	mov	x0, x22
	bl	_skb_reserve
	ldr	d0, [x21]
	str	d0, [x22, #16]
	mov	x0, x25
	bl	_dst_clone
	mov	x1, x0
	mov	x0, x22
	bl	_skb_dst_set
	mov	x0, x22
	mov	x1, x23
	bl	_skb_put
	mov	x0, x22
	bl	_skb_reset_network_header
	mov	x0, x22
	bl	_ipv6_hdr
Lloh8:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x22, #4]
	stp	w9, w8, [x22, #8]
	mov	x1, x24
	mov	w2, #0
	mov	x3, x23
	bl	_memcpy_fromiovecend
	str	w0, [sp, #12]
	cbz	w0, LBB0_7
; %bb.6:
Lloh11:
	adrp	x8, _EFAULT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
	mov	x0, x22
	bl	_kfree_skb
	b	LBB0_10
LBB0_7:
	mov	x0, x21
	bl	_sock_net
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _IPSTATS_MIB_OUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IPSTATS_MIB_OUT@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldr	w3, [x22]
	bl	_IP6_UPD_PO_STATS
Lloh17:
	adrp	x8, _PF_INET6@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PF_INET6@GOTPAGEOFF]
Lloh19:
	adrp	x9, _NF_INET_LOCAL_OUT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NF_INET_LOCAL_OUT@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	ldr	w1, [x9]
	ldr	x4, [x20, #8]
Lloh23:
	adrp	x8, _dst_output@GOTPAGE
Lloh24:
	ldr	x8, [x8, _dst_output@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
	mov	x2, x22
	mov	x3, #0
	bl	_NF_HOOK
	str	w0, [sp, #12]
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.8:
	bl	_net_xmit_errno
	str	w0, [sp, #12]
LBB0_9:
	cbz	w0, LBB0_12
LBB0_10:
	mov	x0, x21
	bl	_sock_net
	ldr	w1, [x20]
Lloh26:
	adrp	x8, _IPSTATS_MIB_OUTDISCARDS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IPSTATS_MIB_OUTDISCARDS@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	bl	_IP6_INC_STATS
	ldr	w0, [sp, #12]
Lloh29:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_12
; %bb.11:
	ldr	w8, [x19]
	cmp	w8, #0
	csel	w0, wzr, w0, eq
LBB0_12:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_MSG_PROBE,4,2                  ; @MSG_PROBE
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_IPSTATS_MIB_OUT,4,2            ; @IPSTATS_MIB_OUT
	.comm	_PF_INET6,4,2                   ; @PF_INET6
	.comm	_NF_INET_LOCAL_OUT,4,2          ; @NF_INET_LOCAL_OUT
	.comm	_dst_output,4,2                 ; @dst_output
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_IPSTATS_MIB_OUTDISCARDS,4,2    ; @IPSTATS_MIB_OUTDISCARDS
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_rawv6_send_hdrinc
.subsections_via_symbols
