	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ypmap_update                   ## -- Begin function ypmap_update
	.p2align	4, 0x90
_ypmap_update:                          ## @ypmap_update
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movq	%r8, %r15
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -104(%rbp)
	movups	%xmm0, -128(%rbp)
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	incq	%rax
	movq	_O_RDWR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	callq	_yp_open_db_rw
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	movq	%rax, %r12
	movq	16(%rbp), %rax
	movq	%r15, -112(%rbp)
	movl	%r14d, -104(%rbp)
	movq	%rax, -136(%rbp)
	movl	%ebx, -128(%rbp)
	leal	-128(%r13), %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	-144(%rbp), %r15                ## 8-byte Reload
	jmpq	*%rax
LBB0_4:
	leaq	-112(%rbp), %rsi
	leaq	-136(%rbp), %rdx
	movq	%r12, %rdi
	movl	$1, %ecx
	jmp	LBB0_7
LBB0_5:
	movq	_ERR_ACCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_6:
	leaq	-112(%rbp), %rsi
	leaq	-136(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
LBB0_7:
	callq	_yp_put_record
	jmp	LBB0_9
LBB0_8:
	leaq	-112(%rbp), %rsi
	movq	%r12, %rdi
	callq	_yp_del_record
LBB0_9:
	movl	%eax, %ebx
	movq	_YP_TRUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_15
LBB0_10:
	testl	%ebx, %ebx
	je	LBB0_15
LBB0_11:
	movq	%r12, %rdi
	callq	*(%r12)
	jmp	LBB0_20
LBB0_12:
	leaq	-112(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	callq	_yp_get_record
	movq	_YP_TRUE@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_22
## %bb.13:
	leaq	-112(%rbp), %rsi
	leaq	-136(%rbp), %rdx
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_yp_put_record
	movl	%eax, %ebx
	cmpl	(%r14), %eax
	jne	LBB0_10
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_yp_error
	movq	-144(%rbp), %r15                ## 8-byte Reload
LBB0_15:
	xorl	%edi, %edi
	callq	_time
	leaq	L_.str.2(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	%eax, %ecx
	callq	_snprintf
	leaq	L_.str(%rip), %rdi
	movq	%rdi, -112(%rbp)
	callq	_strlen
	movl	%eax, -104(%rbp)
	movq	%rbx, -136(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -128(%rbp)
	leaq	-112(%rbp), %rsi
	leaq	-136(%rbp), %rdx
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_yp_put_record
	movq	_YP_TRUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	callq	*(%r12)
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_yp_domake
	movl	%eax, %ebx
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str.3(%rip), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_yp_error
	movq	%r12, %rdi
	callq	*(%r12)
LBB0_18:
	movq	_ERR_DBASE@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %ebx
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.21:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_ERR_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	jne	LBB0_11
	jmp	LBB0_15
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"YP_LAST_MODIFIED"

	.comm	_ERR_ACCESS,4,2                 ## @ERR_ACCESS
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_ERR_DBASE,4,2                  ## @ERR_DBASE
	.comm	_YP_TRUE,4,2                    ## @YP_TRUE
	.comm	_ERR_KEY,4,2                    ## @ERR_KEY
L_.str.1:                               ## @.str.1
	.asciz	"unknown update command: (%d)"

L_.str.2:                               ## @.str.2
	.asciz	"%jd"

L_.str.3:                               ## @.str.3
	.asciz	"failed to update timestamp in %s/%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ypmap_update                   ; -- Begin function ypmap_update
	.p2align	2
_ypmap_update:                          ; @ypmap_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x24, x6
	mov	x23, x5
	mov	x26, x4
	mov	x25, x3
	mov	x22, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	xzr, xzr, [sp, #56]
	stp	xzr, xzr, [sp, #32]
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.1:
	add	x20, x0, #1
Lloh3:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_yp_open_db_rw
	cbz	x0, LBB0_18
; %bb.2:
	mov	x21, x0
	str	x26, [sp, #48]
	str	w25, [sp, #56]
	str	x24, [sp, #24]
	str	w23, [sp, #32]
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_14
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	add	x1, sp, #48
	add	x2, sp, #24
	mov	x0, x21
	mov	w3, #1
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _ERR_ACCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_ACCESS@GOTPAGEOFF]
	b	LBB0_19
LBB0_6:
	add	x1, sp, #48
	add	x2, sp, #24
	mov	x0, x21
	mov	w3, #0
LBB0_7:
	bl	_yp_put_record
	b	LBB0_9
LBB0_8:
	add	x1, sp, #48
	mov	x0, x21
	bl	_yp_del_record
LBB0_9:
	mov	x22, x0
Lloh10:
	adrp	x8, _YP_TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _YP_TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_15
LBB0_10:
	cbz	w22, LBB0_15
LBB0_11:
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
	b	LBB0_20
LBB0_12:
	add	x2, sp, #48
	add	x3, sp, #24
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	bl	_yp_get_record
Lloh13:
	adrp	x23, _YP_TRUE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _YP_TRUE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.13:
	add	x1, sp, #48
	add	x2, sp, #24
	mov	x0, x21
	mov	w3, #1
	bl	_yp_put_record
	mov	x22, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_15
	b	LBB0_10
LBB0_14:
	str	x22, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_yp_error
LBB0_15:
	mov	x0, #0
	bl	_time
	mov	x3, x0
Lloh17:
	adrp	x2, l_.str.2@PAGE
Lloh18:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x22, sp, #72
	add	x0, sp, #72
	mov	w1, #32
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_snprintf
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	str	x0, [sp, #48]
	bl	_strlen
	str	w0, [sp, #56]
	str	x22, [sp, #24]
	add	x0, sp, #72
	bl	_strlen
	str	w0, [sp, #32]
	add	x1, sp, #48
	add	x2, sp, #24
	mov	x0, x21
	mov	w3, #1
	bl	_yp_put_record
Lloh21:
	adrp	x8, _YP_TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _YP_TRUE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.16:
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
	mov	x0, x19
	mov	x1, x20
	bl	_yp_domake
	mov	x22, x0
	b	LBB0_20
LBB0_17:
	stp	x20, x19, [sp]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_yp_error
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
LBB0_18:
Lloh26:
	adrp	x8, _ERR_DBASE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERR_DBASE@GOTPAGEOFF]
LBB0_19:
	ldr	w22, [x8]
LBB0_20:
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.21:
	mov	x0, x22
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_22:
Lloh31:
	adrp	x8, _ERR_KEY@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERR_KEY@GOTPAGEOFF]
Lloh33:
	ldr	w22, [x8]
	cbnz	w22, LBB0_11
	b	LBB0_15
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"YP_LAST_MODIFIED"

	.comm	_ERR_ACCESS,4,2                 ; @ERR_ACCESS
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_ERR_DBASE,4,2                  ; @ERR_DBASE
	.comm	_YP_TRUE,4,2                    ; @YP_TRUE
	.comm	_ERR_KEY,4,2                    ; @ERR_KEY
l_.str.1:                               ; @.str.1
	.asciz	"unknown update command: (%d)"

l_.str.2:                               ; @.str.2
	.asciz	"%jd"

l_.str.3:                               ; @.str.3
	.asciz	"failed to update timestamp in %s/%s"

.subsections_via_symbols
