	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_reg_getnumoutarcs           ## -- Begin function pg_reg_getnumoutarcs
	.p2align	4, 0x90
_pg_reg_getnumoutarcs:                  ## @pg_reg_getnumoutarcs
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	movl	$0, %edi
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_REMAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
LBB0_2:
	callq	_assert
	testl	%r15d, %r15d
	js	LBB0_5
## %bb.3:
	movq	8(%rbx), %rdi
	cmpl	%r15d, (%rdi)
	jle	LBB0_5
## %bb.4:
	movl	$0, -28(%rbp)
	leaq	-28(%rbp), %rdx
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_traverse_lacons
	movl	-28(%rbp), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REMAGIC,8,3                    ## @REMAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_reg_getnumoutarcs           ; -- Begin function pg_reg_getnumoutarcs
	.p2align	2
_pg_reg_getnumoutarcs:                  ; @pg_reg_getnumoutarcs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _REMAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REMAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
LBB0_2:
	bl	_assert
	tbnz	w19, #31, LBB0_5
; %bb.3:
	ldr	x0, [x20, #8]
	ldr	w8, [x0]
	cmp	w8, w19
	b.le	LBB0_5
; %bb.4:
	str	wzr, [sp, #12]
	add	x2, sp, #12
	mov	x1, x19
	mov	x3, #0
	mov	w4, #0
	bl	_traverse_lacons
	ldr	w0, [sp, #12]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REMAGIC,8,3                    ; @REMAGIC
.subsections_via_symbols
