	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lm_init                        ## -- Begin function lm_init
	.p2align	4, 0x90
_lm_init:                               ## @lm_init
	.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	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_dbg
	movq	_lmp_head@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	movq	_ld_path_libmap_conf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_lmc_parse_file
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, %rbx
	movb	(%rax), %al
	movq	%rbx, %rsi
	testb	%al, %al
	je	LBB0_9
## %bb.2:
	movq	%rbx, %rsi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$32, %al
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	%al, (%rsi)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rsi), %eax
	incq	%rsi
	testb	%al, %al
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %eax
	cmpl	$61, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$44, %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$10, %al
	jmp	LBB0_7
LBB0_9:
	subl	%ebx, %esi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_lmc_parse
	movq	%rbx, %rdi
	callq	_free
LBB0_10:
	movq	_lm_count@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	sete	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lm_init(\"%s\")"

	.comm	_lmp_head,4,2                   ## @lmp_head
	.comm	_ld_path_libmap_conf,4,2        ## @ld_path_libmap_conf
	.comm	_lm_count,8,3                   ## @lm_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lm_init                        ; -- Begin function lm_init
	.p2align	2
_lm_init:                               ; @lm_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_dbg
Lloh2:
	adrp	x0, _lmp_head@GOTPAGE
Lloh3:
	ldr	x0, [x0, _lmp_head@GOTPAGEOFF]
	bl	_TAILQ_INIT
Lloh4:
	adrp	x8, _ld_path_libmap_conf@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ld_path_libmap_conf@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_lmc_parse_file
	cbz	x19, LBB0_10
; %bb.1:
	mov	x0, x19
	bl	_xstrdup
	mov	x19, x0
	ldrb	w9, [x0]
	mov	x8, x0
	cbz	w9, LBB0_9
; %bb.2:
	mov	x8, x19
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #32
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	strb	w9, [x8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w9, [x8, #1]!
	cbz	w9, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w9, #0xff
	cmp	w10, #61
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtb	w9, w9
	cmp	w9, #44
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #10
	b	LBB0_4
LBB0_9:
	sub	w1, w8, w19
	mov	x0, x19
	bl	_lmc_parse
	mov	x0, x19
	bl	_free
LBB0_10:
Lloh7:
	adrp	x8, _lm_count@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lm_count@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lm_init(\"%s\")"

	.comm	_lmp_head,4,2                   ; @lmp_head
	.comm	_ld_path_libmap_conf,4,2        ; @ld_path_libmap_conf
	.comm	_lm_count,8,3                   ; @lm_count
.subsections_via_symbols
