	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_exportfile
_read_exportfile:                       ## @read_exportfile
	.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	_exnames@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movl	%edi, %r13d
	movq	_exp_file@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_get_exportlist_one
	movq	(%r12), %rdi
	callq	_fclose
	incl	%r14d
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movq	8(%rax,%r15), %rsi
	addq	$8, %r15
	testq	%rsi, %rsi
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_debug@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movq	(%rbx), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax,%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, (%r12)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax,%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_7
LBB0_8:
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_exnames,8,3                    ## @exnames
	.comm	_debug,8,3                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading exports from %s"

L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_exp_file,8,3                   ## @exp_file
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"can't open %s"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.3:                               ## @.str.3
	.asciz	"can't open any exports file"

	.no_dead_strip	_read_exportfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_exportfile
_read_exportfile:                       ; @read_exportfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x23, _exnames@GOTPAGE
Lloh1:
	ldr	x23, [x23, _exnames@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x1, [x8]
	cbz	x1, LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x25, #0
	mov	w24, #0
Lloh2:
	adrp	x26, _debug@GOTPAGE
Lloh3:
	ldr	x26, [x26, _debug@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh6:
	adrp	x27, _exp_file@GOTPAGE
Lloh7:
	ldr	x27, [x27, _exp_file@GOTPAGEOFF]
Lloh8:
	adrp	x28, _LOG_WARNING@GOTPAGE
Lloh9:
	ldr	x28, [x28, _LOG_WARNING@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh12:
	adrp	x22, l_.str@PAGE
Lloh13:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_get_exportlist_one
	ldr	x0, [x27]
	bl	_fclose
	add	w24, w24, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x9, x8, x25
	ldr	x1, [x9, #8]
	add	x25, x25, #8
	cbz	x1, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x26]
	cbz	x9, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_warnx
	ldr	x8, [x23]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x8, x25]
	mov	x1, x20
	bl	_fopen
	str	x0, [x27]
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x28]
	ldr	x8, [x23]
	ldr	x8, [x8, x25]
	str	x8, [sp]
	mov	x1, x21
	bl	_syslog
	b	LBB0_3
LBB0_8:
	cbz	w24, LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
Lloh14:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_syslog
	mov	w0, #2
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_exnames,8,3                    ; @exnames
	.comm	_debug,8,3                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading exports from %s"

l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_exp_file,8,3                   ; @exp_file
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"can't open %s"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.3:                               ; @.str.3
	.asciz	"can't open any exports file"

	.no_dead_strip	_read_exportfile
.subsections_via_symbols
