	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_html_page_path
_get_html_page_path:                    ## @get_html_page_path
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_html_path@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_2:
	movq	_GIT_HTML_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_system_path
	movq	%rax, %rdi
	movq	%rax, (%r12)
	movq	%rax, %r15
LBB0_3:
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_mkpath
	leaq	-40(%rbp), %rsi
	movl	%eax, %edi
	callq	_stat
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	-40(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	jne	LBB0_7
LBB0_6:
	movq	(%r12), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_die
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_init
	movq	(%r12), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_strbuf_addf
	movq	%r15, %rdi
	callq	_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_html_path,8,3                  ## @html_path
	.comm	_GIT_HTML_PATH,4,2              ## @GIT_HTML_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"://"

L_.str.1:                               ## @.str.1
	.asciz	"%s/git.html"

L_.str.2:                               ## @.str.2
	.asciz	"'%s': not a documentation directory."

L_.str.3:                               ## @.str.3
	.asciz	"%s/%s.html"

	.no_dead_strip	_get_html_page_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_html_page_path
_get_html_page_path:                    ; @get_html_page_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x22, _html_path@GOTPAGE
Lloh1:
	ldr	x22, [x22, _html_path@GOTPAGEOFF]
	ldr	x0, [x22]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, #0
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _GIT_HTML_PATH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GIT_HTML_PATH@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_system_path
	str	x0, [x22]
	mov	x21, x0
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbnz	w0, LBB0_7
; %bb.4:
	ldr	x1, [x22]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_mkpath
	add	x1, sp, #8
	bl	_stat
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [sp, #8]
	bl	_S_ISREG
	cbnz	w0, LBB0_7
LBB0_6:
	ldr	x1, [x22]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_7:
	mov	x0, x20
	mov	w1, #0
	bl	_strbuf_init
	ldr	x2, [x22]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_strbuf_addf
	mov	x0, x21
	bl	_free
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_html_path,8,3                  ; @html_path
	.comm	_GIT_HTML_PATH,4,2              ; @GIT_HTML_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"://"

l_.str.1:                               ; @.str.1
	.asciz	"%s/git.html"

l_.str.2:                               ; @.str.2
	.asciz	"'%s': not a documentation directory."

l_.str.3:                               ; @.str.3
	.asciz	"%s/%s.html"

	.no_dead_strip	_get_html_page_path
.subsections_via_symbols
