	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BackgroundWorkerInitializeConnectionByOid ## -- Begin function BackgroundWorkerInitializeConnectionByOid
	.p2align	4, 0x90
_BackgroundWorkerInitializeConnectionByOid: ## @BackgroundWorkerInitializeConnectionByOid
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_MyBgworkerEntry@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BGWORKER_BACKEND_DATABASE_CONNECTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	_BGWORKER_BYPASS_ALLOWCONN@GOTPCREL(%rip), %rax
	xorl	%r9d, %r9d
	andl	(%rax), %ebx
	setne	%r9b
	xorl	%edi, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_InitPostgres
	xorl	%eax, %eax
	callq	_IsInitProcessingMode
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	_NormalProcessing@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SetProcessingMode              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MyBgworkerEntry,8,3            ## @MyBgworkerEntry
	.comm	_BGWORKER_BACKEND_DATABASE_CONNECTION,4,2 ## @BGWORKER_BACKEND_DATABASE_CONNECTION
	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"database connection requirement not indicated during registration"

	.comm	_BGWORKER_BYPASS_ALLOWCONN,4,2  ## @BGWORKER_BYPASS_ALLOWCONN
	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"invalid processing mode in background worker"

	.comm	_NormalProcessing,4,2           ## @NormalProcessing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BackgroundWorkerInitializeConnectionByOid ; -- Begin function BackgroundWorkerInitializeConnectionByOid
	.p2align	2
_BackgroundWorkerInitializeConnectionByOid: ; @BackgroundWorkerInitializeConnectionByOid
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MyBgworkerEntry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyBgworkerEntry@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BGWORKER_BACKEND_DATABASE_CONNECTION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BGWORKER_BACKEND_DATABASE_CONNECTION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _FATAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_2:
Lloh14:
	adrp	x8, _BGWORKER_BYPASS_ALLOWCONN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BGWORKER_BYPASS_ALLOWCONN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w21
	cset	w5, ne
	mov	x0, #0
	mov	x1, x20
	mov	x2, #0
	mov	x3, x19
	mov	x4, #0
	bl	_InitPostgres
	bl	_IsInitProcessingMode
	cbnz	w0, LBB0_4
; %bb.3:
Lloh17:
	adrp	x8, _ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_4:
Lloh22:
	adrp	x8, _NormalProcessing@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NormalProcessing@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	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
	b	_SetProcessingMode
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MyBgworkerEntry,8,3            ; @MyBgworkerEntry
	.comm	_BGWORKER_BACKEND_DATABASE_CONNECTION,4,2 ; @BGWORKER_BACKEND_DATABASE_CONNECTION
	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"database connection requirement not indicated during registration"

	.comm	_BGWORKER_BYPASS_ALLOWCONN,4,2  ; @BGWORKER_BYPASS_ALLOWCONN
	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"invalid processing mode in background worker"

	.comm	_NormalProcessing,4,2           ; @NormalProcessing
.subsections_via_symbols
