	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_logicalrep_typmap_update       ## -- Begin function logicalrep_typmap_update
	.p2align	4, 0x90
_logicalrep_typmap_update:              ## @logicalrep_typmap_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_LogicalRepTypMap@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_logicalrep_relmap_init
	movq	(%rbx), %rdi
LBB0_2:
	leaq	16(%r14), %rsi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	callq	_hash_search
	movq	%rax, %rbx
	cmpl	$0, -28(%rbp)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_logicalrep_typmap_free_entry
LBB0_4:
	movq	16(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	_LogicalRepRelMapContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	movq	8(%r14), %rdi
	callq	_pstrdup
	movq	%rax, 8(%rbx)
	movq	(%r14), %rdi
	callq	_pstrdup
	movq	%rax, (%rbx)
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogicalRepTypMap,8,3           ## @LogicalRepTypMap
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_LogicalRepRelMapContext,4,2    ## @LogicalRepRelMapContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_logicalrep_typmap_update       ; -- Begin function logicalrep_typmap_update
	.p2align	2
_logicalrep_typmap_update:              ; @logicalrep_typmap_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x20, _LogicalRepTypMap@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LogicalRepTypMap@GOTPAGEOFF]
	ldr	x0, [x20]
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_logicalrep_relmap_init
	ldr	x0, [x20]
LBB0_2:
	add	x1, x19, #16
Lloh2:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #12
	bl	_hash_search
	mov	x20, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_logicalrep_typmap_free_entry
LBB0_4:
	ldr	x8, [x19, #16]
	str	x8, [x20, #16]
Lloh5:
	adrp	x8, _LogicalRepRelMapContext@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LogicalRepRelMapContext@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	ldr	x0, [x19, #8]
	bl	_pstrdup
	str	x0, [x20, #8]
	ldr	x0, [x19]
	bl	_pstrdup
	str	x0, [x20]
	mov	x0, x21
	bl	_MemoryContextSwitchTo
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LogicalRepTypMap,8,3           ; @LogicalRepTypMap
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_LogicalRepRelMapContext,4,2    ; @LogicalRepRelMapContext
.subsections_via_symbols
