	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_to_user_auth
_copy_to_user_auth:                     ## @copy_to_user_auth
	.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
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	_XFRMA_ALG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rdi), %edx
	leal	7(%rdx), %ecx
	addl	$14, %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	addl	$12, %edx
	movq	%rax, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_nla_reserve
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_nla_data
	movq	%rax, %r14
	movl	8(%rax), %edi
	movl	8(%rbx), %esi
	movl	$4, %edx
	callq	_strncpy
	movl	4(%r14), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leal	7(%rdx), %eax
	addl	$14, %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRMA_ALG_AUTH,4,2             ## @XFRMA_ALG_AUTH
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_copy_to_user_auth
.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_auth
_copy_to_user_auth:                     ; @copy_to_user_auth
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _XFRMA_ALG_AUTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFRMA_ALG_AUTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	w9, [x0]
	add	w10, w9, #7
	add	w9, w9, #14
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #3
	add	w2, w9, #12
	mov	x0, x8
	bl	_nla_reserve
	cbz	x0, LBB0_2
; %bb.1:
	bl	_nla_data
	mov	x20, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x19, #8]
	mov	w2, #4
	bl	_strncpy
	ldr	w0, [x20, #4]
	ldp	w8, w1, [x19]
	add	w9, w8, #7
	add	w8, w8, #14
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w2, w8, #3
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x19]
	str	w8, [x20]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRMA_ALG_AUTH,4,2             ; @XFRMA_ALG_AUTH
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_copy_to_user_auth
.subsections_via_symbols
