	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_mdoc_Xr
_parse_mdoc_Xr:                         ## @parse_mdoc_Xr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	16(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdi
	callq	_mandoc_asprintf
	movq	-16(%rbp), %rsi
	movq	_TYPE_Xr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_putkey
	movq	-16(%rbp), %rdi
	callq	_free
	jmp	LBB0_4
LBB0_2:
	movq	_TYPE_Xr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_putkey
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_Xr,4,2                    ## @TYPE_Xr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(%s)"

	.no_dead_strip	_parse_mdoc_Xr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_mdoc_Xr
_parse_mdoc_Xr:                         ; @parse_mdoc_Xr
	.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
	ldr	x9, [x2, #16]
	cbz	x9, LBB0_4
; %bb.1:
	mov	x19, x0
	ldp	x2, x8, [x9]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w3, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_mandoc_asprintf
	ldr	x1, [sp, #8]
Lloh2:
	adrp	x8, _TYPE_Xr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TYPE_Xr@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_putkey
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _TYPE_Xr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TYPE_Xr@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	x0, x19
	mov	x1, x2
	mov	x2, x8
	bl	_putkey
LBB0_4:
	mov	w0, #0
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_Xr,4,2                    ; @TYPE_Xr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%s)"

	.no_dead_strip	_parse_mdoc_Xr
.subsections_via_symbols
