	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_to_user_tmpl
_copy_to_user_tmpl:                     ## @copy_to_user_tmpl
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_XFRM_MAX_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	jle	LBB0_6
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rbx
	addq	$28, %rbx
	movl	$28, %r14d
	xorl	%r15d, %r15d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-28(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	8(%rbx), %rdi
	leaq	(%r12,%r14), %r13
	leaq	(%r12,%r14), %rsi
	addq	$8, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%r12,%r14), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-4(%r12,%r14), %eax
	movl	%eax, -4(%rbx)
	movl	-8(%r12,%r14), %eax
	movl	%eax, -8(%rbx)
	movl	-12(%r12,%r14), %eax
	movl	%eax, -12(%rbx)
	movups	-28(%r12,%r14), %xmm0
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movups	%xmm0, -28(%rbx)
	incq	%r15
	movslq	(%r12), %rax
	addq	$40, %rbx
	addq	$40, %r14
	cmpq	%rax, %r15
	jl	LBB0_4
## %bb.5:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_6:
	movq	_XFRMA_TMPL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	shll	$3, %eax
	leal	(%rax,%rax,4), %edx
	movq	%rbx, %rdi
	callq	_nla_put
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_MAX_DEPTH,4,2             ## @XFRM_MAX_DEPTH
	.comm	_XFRMA_TMPL,4,2                 ## @XFRMA_TMPL
	.no_dead_strip	_copy_to_user_tmpl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_to_user_tmpl
_copy_to_user_tmpl:                     ; @copy_to_user_tmpl
	.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, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _XFRM_MAX_DEPTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XFRM_MAX_DEPTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	x8, x8, x8, lsl #2
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7ffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, #0
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x20, x23
	ldr	x25, [x21, #8]
	mov	x0, x22
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x0, x22, #36
	add	x25, x25, x23
	add	x1, x25, #36
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x25, #32]
	str	w8, [x22, #32]
	add	x0, x22, #28
	add	x1, x25, #28
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x25, #24]
	str	w8, [x22, #24]
	ldr	d0, [x25, #16]
	str	d0, [x22, #16]
	ldr	q0, [x25]
	str	q0, [x22]
	add	x24, x24, #1
	ldrsw	x8, [x21]
	add	x23, x23, #40
	cmp	x24, x8
	b.lt	LBB0_3
LBB0_4:
Lloh8:
	adrp	x9, _XFRMA_TMPL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XFRMA_TMPL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	add	w8, w8, w8, lsl #2
	lsl	w2, w8, #3
	mov	x0, x19
	mov	x3, x20
	bl	_nla_put
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldur	x8, [x29, #-72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_MAX_DEPTH,4,2             ; @XFRM_MAX_DEPTH
	.comm	_XFRMA_TMPL,4,2                 ; @XFRMA_TMPL
	.no_dead_strip	_copy_to_user_tmpl
.subsections_via_symbols
