	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_drectve_symbols
_scan_drectve_symbols:                  ## @scan_drectve_symbols
	.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	%rdi, %r12
	movq	_DRECTVE_SECTION_NAME@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_30
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_bfd_get_section_size
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_xmalloc
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	callq	_bfd_get_section_contents
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movl	(%r14), %r13d
	movq	%r12, %rdi
	callq	_bfd_get_filename
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_inform
	testl	%r15d, %r15d
	jle	LBB0_29
## %bb.2:
	movslq	%r15d, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r12
	addq	%rax, %r12
	movq	_BSF_FUNCTION@GOTPCREL(%rip), %r14
	movabsq	$52780853100544, %r13           ## imm = 0x300100000000
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	%rbx, %r15
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rbx
	cmpq	%r12, %r15
	jae	LBB0_29
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	cmpb	$45, (%rbx)
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_CONST_STRNEQ
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rbx
	cmpq	%r12, %rbx
	jae	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r15
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=2
	incq	%r15
	cmpq	%r12, %r15
	jae	LBB0_28
LBB0_10:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15), %eax
	cmpq	$45, %rax
	ja	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	btq	%rax, %r13
	jae	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %r15
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %r14
	subq	%rbx, %r14
	leal	1(%r14), %edi
	callq	_xmalloc
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movb	$0, (%r13,%r14)
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$44, (%r15)
	jne	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movq	%r15, %rbx
	cmpq	%r12, %r15
	movq	_BSF_FUNCTION@GOTPCREL(%rip), %r14
	jae	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpb	$45, %al
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	incq	%rbx
	cmpq	%r12, %rbx
	jb	LBB0_18
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_CONST_STRNEQ
	movl	(%r14), %ecx
	notl	%ecx
	cmpq	$1, %rax
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	%ecx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	andl	%eax, %ecx
	movl	%ecx, %eax
	movq	%rbx, %r15
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_BSF_FUNCTION@GOTPCREL(%rip), %r14
	movl	-48(%rbp), %eax                 ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r9d, %r9d
	andl	(%r14), %eax
	sete	%r9b
	movl	$0, (%rsp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_def_exports
	movq	_add_stdcall_alias@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	cmpb	$64, (%r13)
	sete	%al
	movq	%r13, %rdi
	addq	%rax, %rdi
	callq	_xstrdup
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$64, %esi
	callq	_strchr
	movb	$0, (%rax)
	movq	%r13, %rdi
	callq	_xstrdup
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_def_exports
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movabsq	$52780853100544, %r13           ## imm = 0x300100000000
	jmp	LBB0_4
LBB0_28:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_29:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_30:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRECTVE_SECTION_NAME,4,2       ## @DRECTVE_SECTION_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sucking in info from %s section in %s"

L_.str.1:                               ## @.str.1
	.asciz	"-export:"

	.comm	_BSF_FUNCTION,4,2               ## @BSF_FUNCTION
L_.str.2:                               ## @.str.2
	.asciz	"data"

	.comm	_add_stdcall_alias,8,3          ## @add_stdcall_alias
	.no_dead_strip	_scan_drectve_symbols
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_drectve_symbols
_scan_drectve_symbols:                  ; @scan_drectve_symbols
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x0
Lloh0:
	adrp	x19, _DRECTVE_SECTION_NAME@GOTPAGE
Lloh1:
	ldr	x19, [x19, _DRECTVE_SECTION_NAME@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_26
; %bb.1:
	mov	x22, x0
	bl	_bfd_get_section_size
	mov	x21, x0
	bl	_xmalloc
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	w3, #0
	mov	x4, x21
	bl	_bfd_get_section_contents
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x22, x0
	ldr	w23, [x19]
	mov	x0, x20
	bl	_bfd_get_filename
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_inform
	cmp	w21, #1
	b.lt	LBB0_25
; %bb.2:
	sxtw	x8, w21
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	add	x26, x22, x8
	sub	x8, x26, #8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	sub	x8, x26, #1
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh4:
	adrp	x21, _BSF_FUNCTION@GOTPAGE
Lloh5:
	ldr	x21, [x21, _BSF_FUNCTION@GOTPAGEOFF]
	mov	w28, #1
	mov	x19, #52780853100544
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x22, x26
	b.hs	LBB0_25
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	ldrb	w8, [x22]
	cmp	w8, #45
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_CONST_STRNEQ
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x22, #8
	cmp	x24, x26
	b.hs	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	sub	x8, x8, x22
	mov	w20, #1
	mov	x22, x24
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x22]
	cmp	w9, #45
	lsl	x9, x28, x9
	and	x9, x9, x19
	ccmp	x9, #0, #4, ls
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x22, x22, #1
	cmp	x22, x26
	cset	w20, lo
	subs	x8, x8, #1
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x26
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w20, #0
	mov	x22, x24
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w27, [x21]
	sub	x25, x22, x24
	add	w0, w25, #1
	bl	_xmalloc
	mov	x23, x0
	mov	x1, x24
	mov	x2, x25
	bl	_memcpy
	strb	wzr, [x23, x25]
	tbz	w20, #0, LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #44
	b.ne	LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x22, #1
	mov	x20, x0
	cmp	x0, x26
	b.hs	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sub	x8, x8, x22
	mov	x20, x0
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x20]
	cmp	w9, #32
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	cmp	w9, #45
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x20, x20, #1
	subs	x8, x8, #1
	b.ne	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, x26
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_CONST_STRNEQ
	ldr	w8, [x21]
	cmp	x0, #0
	mov	w9, #-1
	csinv	w8, w9, w8, eq
	and	w27, w8, w27
	mov	x22, x20
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	tst	w8, w27
	cset	w5, eq
	mov	x0, x23
	mov	x1, #0
	mov	w2, #-1
	mov	w3, #0
	mov	w4, #0
	mov	w6, #0
	bl	_def_exports
Lloh10:
	adrp	x8, _add_stdcall_alias@GOTPAGE
Lloh11:
	ldr	x8, [x8, _add_stdcall_alias@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x23
	ldrb	w9, [x8], #1
	cmp	w9, #64
	csel	x0, x23, x8, ne
	bl	_xstrdup
	mov	x24, x0
	mov	w1, #64
	bl	_strchr
	strb	wzr, [x0]
	mov	x0, x23
	bl	_xstrdup
	mov	x1, x0
	mov	x0, x24
	mov	w2, #-1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_def_exports
	b	LBB0_4
LBB0_25:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_free
LBB0_26:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DRECTVE_SECTION_NAME,4,2       ; @DRECTVE_SECTION_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sucking in info from %s section in %s"

l_.str.1:                               ; @.str.1
	.asciz	"-export:"

	.comm	_BSF_FUNCTION,4,2               ; @BSF_FUNCTION
l_.str.2:                               ; @.str.2
	.asciz	"data"

	.comm	_add_stdcall_alias,8,3          ; @add_stdcall_alias
	.no_dead_strip	_scan_drectve_symbols
.subsections_via_symbols
