	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqBuildStartupPacket2          ## -- Begin function pqBuildStartupPacket2
	.p2align	4, 0x90
_pqBuildStartupPacket2:                 ## @pqBuildStartupPacket2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$20, (%rsi)
	movl	$20, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_MemSet
	movl	16(%r14), %edi
	callq	_pg_hton32
	movl	%eax, 16(%rbx)
	movl	12(%rbx), %edi
	movl	12(%r14), %esi
	movq	_SM_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strncpy
	movl	8(%rbx), %edi
	movl	8(%r14), %esi
	movq	_SM_DATABASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strncpy
	movl	4(%rbx), %edi
	movl	4(%r14), %esi
	movq	_SM_TTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strncpy
	movl	(%r14), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	movq	_SM_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strncpy
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_USER,4,2                    ## @SM_USER
	.comm	_SM_DATABASE,4,2                ## @SM_DATABASE
	.comm	_SM_TTY,4,2                     ## @SM_TTY
	.comm	_SM_OPTIONS,4,2                 ## @SM_OPTIONS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqBuildStartupPacket2          ; -- Begin function pqBuildStartupPacket2
	.p2align	2
_pqBuildStartupPacket2:                 ; @pqBuildStartupPacket2
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w8, #20
	str	w8, [x1]
	mov	w0, #20
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #20
	bl	_MemSet
	ldr	w0, [x20, #16]
	bl	_pg_hton32
	str	w0, [x19, #16]
	ldr	w0, [x19, #12]
	ldr	w1, [x20, #12]
Lloh0:
	adrp	x8, _SM_USER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SM_USER@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_strncpy
	ldr	w0, [x19, #8]
	ldr	w1, [x20, #8]
Lloh3:
	adrp	x8, _SM_DATABASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SM_DATABASE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_strncpy
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
Lloh6:
	adrp	x8, _SM_TTY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SM_TTY@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_strncpy
	ldr	w1, [x20]
	cbz	w1, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _SM_OPTIONS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SM_OPTIONS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_strncpy
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_USER,4,2                    ; @SM_USER
	.comm	_SM_DATABASE,4,2                ; @SM_DATABASE
	.comm	_SM_TTY,4,2                     ; @SM_TTY
	.comm	_SM_OPTIONS,4,2                 ; @SM_OPTIONS
.subsections_via_symbols
