	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdf_obj
_pdf_obj:                               ## @pdf_obj
	.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	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	movq	%rsi, %rbx
	addq	$-1, %rbx
	setb	%dil
	callq	_assert
	movq	(%r14), %rcx
	cmpq	(%rcx), %rbx
	jae	LBB0_2
## %bb.1:
	movq	16(%rcx), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	128(%r15), %rsi
	movq	%rsi, (%rcx)
	movq	16(%rcx), %rdi
	movl	$8, %edx
	callq	_mandoc_reallocarray
	movq	(%r14), %rcx
	movq	%rax, 16(%rcx)
LBB0_3:
	movl	8(%rcx), %ecx
	movq	%r15, %rdx
	shlq	$32, %rdx
	movabsq	$-4294967296, %rsi              ## imm = 0xFFFFFFFF00000000
	addq	%rdx, %rsi
	sarq	$30, %rsi
	movl	%ecx, (%rax,%rsi)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ps_printf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%zu 0 obj\n"

	.no_dead_strip	_pdf_obj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdf_obj
_pdf_obj:                               ; @pdf_obj
	.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	x19, x1
	mov	x20, x0
	subs	x21, x1, #1
	cset	w0, hs
	bl	_assert
	ldr	x8, [x20]
	ldr	x9, [x8]
	cmp	x21, x9
	b.hs	LBB0_2
; %bb.1:
	ldr	x0, [x8, #16]
	b	LBB0_3
LBB0_2:
	add	x1, x19, #128
	str	x1, [x8]
	ldr	x0, [x8, #16]
	mov	w2, #8
	bl	_mandoc_reallocarray
	ldr	x8, [x20]
	str	x0, [x8, #16]
LBB0_3:
	ldr	w8, [x8, #8]
	mov	x9, #-4294967296
	add	x9, x9, x19, lsl #32
	asr	x9, x9, #30
	str	w8, [x0, x9]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	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	_ps_printf
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%zu 0 obj\n"

	.no_dead_strip	_pdf_obj
.subsections_via_symbols
