	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ypu_store_1_svc                ## -- Begin function ypu_store_1_svc
	.p2align	4, 0x90
_ypu_store_1_svc:                       ## @ypu_store_1_svc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$0, _ypu_store_1_svc.res(%rip)
	movq	%rsi, %rdi
	callq	_yp_checkauth
	movq	_AUTH_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %r14
	movq	_YPOP_STORE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	12(%r15), %ecx
	movl	8(%r15), %r8d
	movl	(%r15), %eax
	movl	4(%r15), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_localupdate
	movl	%eax, _ypu_store_1_svc.res(%rip)
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	16(%r15), %esi
	movl	(%rbx), %edx
	movl	12(%r15), %ecx
	movl	8(%r15), %r8d
	movl	(%r15), %eax
	movl	4(%r15), %r9d
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	callq	_ypmap_update
	movl	%eax, _ypu_store_1_svc.res(%rip)
	jmp	LBB0_4
LBB0_1:
	movl	8(%rbx), %edi
	movl	%eax, %esi
	callq	_svcerr_auth
LBB0_4:
	leaq	_ypu_store_1_svc.res(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_ypu_store_1_svc.res,4,2 ## @ypu_store_1_svc.res
	.comm	_AUTH_OK,4,2                    ## @AUTH_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/etc/publickey"

	.comm	_YPOP_STORE,4,2                 ## @YPOP_STORE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ypu_store_1_svc                ; -- Begin function ypu_store_1_svc
	.p2align	2
_ypu_store_1_svc:                       ; @ypu_store_1_svc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	adrp	x21, _ypu_store_1_svc.res@PAGE
	str	wzr, [x21, _ypu_store_1_svc.res@PAGEOFF]
	mov	x0, x1
	bl	_yp_checkauth
Lloh0:
	adrp	x8, _AUTH_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTH_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x22, _YPOP_STORE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _YPOP_STORE@GOTPAGEOFF]
	ldr	x20, [x8]
	ldr	w2, [x22]
	ldp	w4, w3, [x19, #8]
	ldp	w6, w5, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_localupdate
	str	w0, [x21, _ypu_store_1_svc.res@PAGEOFF]
	cbnz	w0, LBB0_4
; %bb.2:
	ldp	w3, w1, [x19, #12]
	ldr	w2, [x22]
	ldp	w5, w4, [x19, #4]
	ldr	w6, [x19]
	mov	x0, x20
	bl	_ypmap_update
	str	w0, [x21, _ypu_store_1_svc.res@PAGEOFF]
	b	LBB0_4
LBB0_3:
	mov	x1, x0
	ldr	w0, [x20, #8]
	bl	_svcerr_auth
LBB0_4:
Lloh7:
	adrp	x0, _ypu_store_1_svc.res@PAGE
Lloh8:
	add	x0, x0, _ypu_store_1_svc.res@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_ypu_store_1_svc.res,4,2 ; @ypu_store_1_svc.res
	.comm	_AUTH_OK,4,2                    ; @AUTH_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/etc/publickey"

	.comm	_YPOP_STORE,4,2                 ; @YPOP_STORE
.subsections_via_symbols
