	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdoc_endbody_alloc             ## -- Begin function mdoc_endbody_alloc
	.p2align	4, 0x90
_mdoc_endbody_alloc:                    ## @mdoc_endbody_alloc
	.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	%r8, %r15
	movq	_NODE_ENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r8)
	movq	16(%r8), %rbx
	orl	%eax, (%rbx)
	movl	%ecx, %r8d
	movq	%rdi, %r14
	movq	_ROFFT_BODY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_roff_node_alloc
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movl	4(%r15), %eax
	movl	%eax, 4(%rbx)
	movq	_ENDBODY_SPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_roff_node_append
	movq	_ROFF_NEXT_SIBLING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NODE_ENDED,4,2                 ## @NODE_ENDED
	.comm	_ROFFT_BODY,4,2                 ## @ROFFT_BODY
	.comm	_ENDBODY_SPACE,4,2              ## @ENDBODY_SPACE
	.comm	_ROFF_NEXT_SIBLING,4,2          ## @ROFF_NEXT_SIBLING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdoc_endbody_alloc             ; -- Begin function mdoc_endbody_alloc
	.p2align	2
_mdoc_endbody_alloc:                    ; @mdoc_endbody_alloc
	.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, x4
	mov	x4, x3
	mov	x20, x0
	ldr	w8, [x19, #24]
Lloh0:
	adrp	x9, _NODE_ENDED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NODE_ENDED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
Lloh3:
	adrp	x8, _ROFFT_BODY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROFFT_BODY@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_roff_node_alloc
	mov	x21, x0
	str	x19, [x0, #8]
	ldr	w8, [x19, #4]
Lloh6:
	adrp	x9, _ENDBODY_SPACE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENDBODY_SPACE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	mov	x0, x20
	mov	x1, x21
	bl	_roff_node_append
Lloh9:
	adrp	x8, _ROFF_NEXT_SIBLING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROFF_NEXT_SIBLING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NODE_ENDED,4,2                 ; @NODE_ENDED
	.comm	_ROFFT_BODY,4,2                 ; @ROFFT_BODY
	.comm	_ENDBODY_SPACE,4,2              ; @ENDBODY_SPACE
	.comm	_ROFF_NEXT_SIBLING,4,2          ; @ROFF_NEXT_SIBLING
.subsections_via_symbols
