	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tag_put                        ## -- Begin function tag_put
	.p2align	4, 0x90
_tag_put:                               ## @tag_put
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_tag_files@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_22
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	cmpb	$92, (%rdi)
	jne	LBB0_5
## %bb.2:
	movb	1(%rbx), %al
	cmpb	$101, %al
	je	LBB0_4
## %bb.3:
	cmpb	$38, %al
	jne	LBB0_5
LBB0_4:
	addq	$2, %rbx
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcspn
	testq	%rax, %rax
	je	LBB0_22
## %bb.6:
	movq	%rax, %r13
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	addq	%rbx, %rax
	movq	%rax, -56(%rbp)
	cmpb	$0, (%rbx,%r13)
	je	LBB0_8
## %bb.7:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_8:
	movq	_tag_data@GOTPCREL(%rip), %r12
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ohash_qlookupi
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ohash_find
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r12
	movl	32(%rax), %eax
	testl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.13:
	testl	%eax, %eax
	jle	LBB0_15
## %bb.14:
	cmpl	%r15d, %eax
	jl	LBB0_22
LBB0_15:
	testl	%eax, %eax
	jle	LBB0_17
## %bb.16:
	cmpl	%r15d, %eax
	jle	LBB0_18
LBB0_17:
	movq	$0, 24(%r12)
	jmp	LBB0_18
LBB0_9:
	leal	41(%r13), %edi
	callq	_mandoc_malloc
	movq	%rax, %r12
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movq	(%r12), %rax
	movb	$0, (%rax,%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	movq	$0, 24(%r12)
	movq	_tag_data@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_ohash_insert
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_18:
	movq	16(%r12), %rsi
	movq	24(%r12), %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_19
## %bb.20:
	addq	$4, %rsi
	movq	%rsi, 16(%r12)
	movq	8(%r12), %rdi
	movl	$8, %edx
	callq	_mandoc_reallocarray
	movq	%rax, 8(%r12)
	movq	24(%r12), %rcx
	jmp	LBB0_21
LBB0_19:
	movq	8(%r12), %rax
LBB0_21:
	leaq	1(%rcx), %rdx
	movq	%rdx, 24(%r12)
	movq	%rbx, (%rax,%rcx,8)
	movl	%r15d, 32(%r12)
	jmp	LBB0_22
LBB0_11:
	testl	%eax, %eax
	jne	LBB0_22
## %bb.12:
	movl	$-1, 32(%r12)
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tag_files,8,3                  ## @tag_files
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" \t\\"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_tag_data,4,2                   ## @tag_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tag_put                        ; -- Begin function tag_put
	.p2align	2
_tag_put:                               ; @tag_put
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _tag_files@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tag_files@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrb	w8, [x0]
	cmp	w8, #92
	b.ne	LBB0_5
; %bb.2:
	ldrb	w8, [x21, #1]
	cmp	w8, #101
	b.eq	LBB0_4
; %bb.3:
	cmp	w8, #38
	b.ne	LBB0_5
LBB0_4:
	add	x21, x21, #2
LBB0_5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcspn
	cbz	x0, LBB0_18
; %bb.6:
	mov	x22, x0
	add	x8, x21, x0
	str	x8, [sp, #8]
	ldrb	w8, [x8]
Lloh5:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w24, w20, w9, eq
Lloh8:
	adrp	x20, _tag_data@GOTPAGE
Lloh9:
	ldr	x20, [x20, _tag_data@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_ohash_qlookupi
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_ohash_find
	cbz	x0, LBB0_11
; %bb.7:
	mov	x20, x0
	ldr	w8, [x0, #32]
	cbz	w24, LBB0_16
; %bb.8:
	cmp	w8, #1
	ccmp	w8, w24, #0, ge
	b.lt	LBB0_18
; %bb.9:
	cmp	w8, #1
	ccmp	w8, w24, #0, ge
	b.le	LBB0_12
; %bb.10:
	str	xzr, [x20, #24]
	b	LBB0_12
LBB0_11:
	add	w0, w22, #41
	bl	_mandoc_malloc
	mov	x20, x0
	ldr	x0, [x0]
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x20]
	strb	wzr, [x8, x22]
	stp	xzr, xzr, [x20, #8]
	str	xzr, [x20, #24]
Lloh10:
	adrp	x0, _tag_data@GOTPAGE
Lloh11:
	ldr	x0, [x0, _tag_data@GOTPAGEOFF]
	mov	x1, x23
	mov	x2, x20
	bl	_ohash_insert
LBB0_12:
	ldp	x9, x8, [x20, #16]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	x1, x9, #4
	str	x1, [x20, #16]
	ldr	x0, [x20, #8]
	mov	w2, #8
	bl	_mandoc_reallocarray
	str	x0, [x20, #8]
	ldr	x8, [x20, #24]
	b	LBB0_15
LBB0_14:
	ldr	x0, [x20, #8]
LBB0_15:
	add	x9, x8, #1
	str	x9, [x20, #24]
	str	x19, [x0, x8, lsl #3]
	str	w24, [x20, #32]
	b	LBB0_18
LBB0_16:
	cbnz	w8, LBB0_18
; %bb.17:
	mov	w8, #-1
	str	w8, [x20, #32]
LBB0_18:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_tag_files,8,3                  ; @tag_files
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" \t\\"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_tag_data,4,2                   ; @tag_data
.subsections_via_symbols
