	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authunix_create                ## -- Begin function authunix_create
	.p2align	4, 0x90
_authunix_create:                       ## @authunix_create
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_AUTH_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	$80, %edi
	callq	_mem_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r12
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$80, %edi
	callq	_mem_alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_authunix_ops
	movl	%eax, 72(%r12)
	movq	%r14, 64(%r12)
	movq	__null_auth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movl	%eax, 60(%r12)
	movq	$0, 48(%r14)
	movq	$0, 8(%r14)
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movq	%r15, -120(%rbp)
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -112(%rbp)
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -108(%rbp)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -104(%rbp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -96(%rbp)
	movq	_MAX_AUTH_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XDR_ENCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_xdrmem_create
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	callq	_xdr_authunix_parms
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	leaq	-72(%rbp), %rdi
	callq	_XDR_GETPOS
	movl	%eax, %r15d
	movl	%eax, (%r14)
	movq	_AUTH_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movl	%r15d, %edi
	callq	_mem_alloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movslq	%r15d, %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_memmove
	movups	(%r14), %xmm0
	movups	%xmm0, 24(%r12)
	movq	16(%r14), %rax
	movq	%rax, 40(%r12)
	movq	%r12, %rdi
	callq	_marshal_new_auth
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movq	%r12, %rdi
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movq	%r12, %rdi
	movl	$80, %esi
	callq	_mem_free
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	movl	%r15d, %esi
	callq	_mem_free
LBB0_9:
	movq	%r14, %rdi
LBB0_10:
	movl	$80, %esi
	callq	_mem_free
	xorl	%r12d, %r12d
LBB0_11:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_12:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.13:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
LBB0_14:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_AUTH_BYTES,4,2             ## @MAX_AUTH_BYTES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"authunix_create: out of memory"

	.comm	__null_auth,4,2                 ## @_null_auth
	.comm	_XDR_ENCODE,4,2                 ## @XDR_ENCODE
	.comm	_AUTH_UNIX,4,2                  ## @AUTH_UNIX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_authunix_create                ; -- Begin function authunix_create
	.p2align	2
_authunix_create:                       ; @authunix_create
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _MAX_AUTH_BYTES@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MAX_AUTH_BYTES@GOTPAGEOFF]
	ldr	w8, [x28]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	w0, #80
	bl	_mem_alloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	mov	w0, #80
	bl	_mem_alloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	bl	_authunix_ops
	str	w0, [x19, #72]
	str	x20, [x19, #64]
Lloh7:
	adrp	x8, __null_auth@GOTPAGE
Lloh8:
	ldr	x8, [x8, __null_auth@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20, #56]
	str	w8, [x19, #60]
	str	xzr, [x20, #48]
	str	xzr, [x20, #8]
	sub	x8, x29, #128
	add	x0, x8, #32
	mov	x1, #0
	bl	_gettimeofday
	stur	x26, [x29, #-128]
	stp	w25, w24, [x29, #-120]
	stur	w23, [x29, #-112]
	stur	x22, [x29, #-104]
	ldr	w2, [x28]
Lloh10:
	adrp	x8, _XDR_ENCODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XDR_ENCODE@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	sub	x0, x29, #132
	mov	x1, x21
	bl	_xdrmem_create
	sub	x0, x29, #132
	sub	x1, x29, #128
	bl	_xdr_authunix_parms
	cbz	w0, LBB0_14
; %bb.3:
	sub	x0, x29, #132
	bl	_XDR_GETPOS
	mov	x22, x0
	str	w0, [x20]
Lloh13:
	adrp	x8, _AUTH_UNIX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AUTH_UNIX@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	bl	_mem_alloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_7
; %bb.4:
	sxtw	x2, w22
	mov	x1, x21
	bl	_memmove
	ldr	x8, [x20, #16]
	ldr	q0, [x20]
	stur	q0, [x19, #24]
	str	x8, [x19, #40]
	mov	x0, x19
	bl	_marshal_new_auth
	b	LBB0_11
LBB0_5:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	b	LBB0_11
LBB0_6:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	mov	x0, x19
	b	LBB0_10
LBB0_7:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	mov	x0, x19
	mov	w1, #80
	bl	_mem_free
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_9
; %bb.8:
	mov	x1, x22
	bl	_mem_free
LBB0_9:
	mov	x0, x20
LBB0_10:
	mov	w1, #80
	bl	_mem_free
	mov	x19, #0
LBB0_11:
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
LBB0_14:
	bl	_abort
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_AUTH_BYTES,4,2             ; @MAX_AUTH_BYTES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"authunix_create: out of memory"

	.comm	__null_auth,4,2                 ; @_null_auth
	.comm	_XDR_ENCODE,4,2                 ; @XDR_ENCODE
	.comm	_AUTH_UNIX,4,2                  ; @AUTH_UNIX
.subsections_via_symbols
