	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQregisterThreadLock           ## -- Begin function PQregisterThreadLock
	.p2align	4, 0x90
_PQregisterThreadLock:                  ## @PQregisterThreadLock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pg_g_threadlock@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_default_threadlock@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
LBB0_2:
	movq	%rdi, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pg_g_threadlock,8,3            ## @pg_g_threadlock
	.comm	_default_threadlock,8,3         ## @default_threadlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQregisterThreadLock           ; -- Begin function PQregisterThreadLock
	.p2align	2
_PQregisterThreadLock:                  ; @PQregisterThreadLock
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _pg_g_threadlock@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pg_g_threadlock@GOTPAGEOFF]
Lloh2:
	adrp	x10, _default_threadlock@GOTPAGE
Lloh3:
	ldr	x10, [x10, _default_threadlock@GOTPAGEOFF]
	ldr	x8, [x9]
Lloh4:
	ldr	x10, [x10]
	cmp	x0, #0
	csel	x10, x10, x0, eq
	str	x10, [x9]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pg_g_threadlock,8,3            ; @pg_g_threadlock
	.comm	_default_threadlock,8,3         ; @default_threadlock
.subsections_via_symbols
