	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_manconf_parse                  ## -- Begin function manconf_parse
	.p2align	4, 0x90
_manconf_parse:                         ## @manconf_parse
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rcx, %rsi
	movl	$109, %edx
	callq	_manpath_parseline
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$77, %edx
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_manpath_parseline              ## TAILCALL
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %r15
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:
	movq	_MAN_CONF_FILE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_4:
	testq	%r15, %r15
	je	LBB0_9
## %bb.5:
	movb	(%r15), %al
	cmpb	$58, %al
	je	LBB0_12
## %bb.6:
	testb	%al, %al
	je	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_strlen
	cltq
	cmpb	$58, -1(%rax,%r15)
	jne	LBB0_10
## %bb.8:
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_manpath_parseline
LBB0_9:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_manconf_file                   ## TAILCALL
LBB0_12:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_manconf_file
LBB0_13:
	movq	%r13, %rdi
	movq	%r15, %rsi
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %r12
	movb	$0, (%rax)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_manpath_parseline
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_manconf_file
	addq	$2, %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
LBB0_14:
	xorl	%edx, %edx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MANPATH"

	.comm	_MAN_CONF_FILE,8,3              ## @MAN_CONF_FILE
L_.str.1:                               ## @.str.1
	.asciz	"::"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_manconf_parse                  ; -- Begin function manconf_parse
	.p2align	2
_manconf_parse:                         ; @manconf_parse
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x1, x3
	mov	w2, #109
	bl	_manpath_parseline
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #77
LBB0_2:
	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	_manpath_parseline
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh2:
	adrp	x8, _MAN_CONF_FILE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAN_CONF_FILE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x20, #0
	csel	x20, x8, x20, eq
	cbz	x0, LBB0_8
; %bb.4:
	mov	x21, x0
	ldrb	w8, [x0]
	cmp	w8, #58
	b.eq	LBB0_9
; %bb.5:
	cbz	w8, LBB0_8
; %bb.6:
	mov	x0, x21
	bl	_strlen
	add	x8, x21, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #58
	b.ne	LBB0_11
; %bb.7:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_manpath_parseline
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	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	_manconf_file
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_manconf_file
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	b	LBB0_13
LBB0_11:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strstr
	cbz	x0, LBB0_10
; %bb.12:
	mov	x22, x0
	strb	wzr, [x22], #2
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_manpath_parseline
	mov	x0, x19
	mov	x1, x20
	bl	_manconf_file
	mov	x0, x19
	mov	x1, x22
LBB0_13:
	mov	w2, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MANPATH"

	.comm	_MAN_CONF_FILE,8,3              ; @MAN_CONF_FILE
l_.str.1:                               ; @.str.1
	.asciz	"::"

.subsections_via_symbols
