	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc_elf_begin_write_processing
_ppc_elf_begin_write_processing:        ## @ppc_elf_begin_write_processing
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_34
## %bb.1:
	movq	%rsi, %r12
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_34
## %bb.2:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	_APUINFO_SECTION_NAME@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	addq	(%rax), %r14
	jmp	LBB0_5
LBB0_6:
	testl	%r13d, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_34
## %bb.7:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_34
## %bb.8:
	movq	%r14, %rdi
	callq	_bfd_malloc
	testq	%rax, %rax
	je	LBB0_34
## %bb.9:
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_apuinfo_list_init
	movq	(%r12), %r12
	testq	%r12, %r12
	je	LBB0_30
## %bb.10:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12), %r12
	testq	%r12, %r12
	je	LBB0_30
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_29
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rax), %rbx
	cmpq	$24, %rbx
	jb	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%rax), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_bfd_bread
	cmpq	%rbx, %rax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_bfd_get_32
	cmpq	$4, %rax
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	8(%r13), %rsi
	movq	%r12, %rdi
	callq	_bfd_get_32
	cmpq	$2, %rax
	jne	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	12(%r13), %rdi
	movq	_APUINFO_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	4(%r13), %rsi
	movq	%r12, %rdi
	callq	_bfd_get_32
	movq	%rbx, %rdx
	movq	%rax, %rbx
	addq	$20, %rax
	cmpq	%rdx, %rax
	jne	LBB0_19
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%rdx, %rcx
	movq	%rcx, %rax
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpq	%r14, %rcx
	ja	LBB0_19
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=1
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	$20, %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%r15,%r13), %rsi
	movq	%r12, %rdi
	callq	_bfd_get_32
	movq	%rax, %rdi
	callq	_apuinfo_list_add
	addl	$4, %r15d
	cmpq	%r15, %rbx
	ja	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_APUINFO_SECTION_NAME@GOTPCREL(%rip), %r15
	jmp	LBB0_28
LBB0_30:
	xorl	%eax, %eax
	callq	_apuinfo_list_length
                                        ## kill: def $eax killed $eax def $rax
	leal	20(,%rax,4), %r14d
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_bfd_set_section_size
	testl	%eax, %eax
	je	LBB0_31
## %bb.35:
	movq	%r13, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_19:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_31:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_32
LBB0_13:
	movq	%r12, %rbx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_32
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rbx
	jmp	LBB0_32
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_32:
	callq	__
	movq	%rax, %r14
	movq	%rbx, %r12
LBB0_33:
	movq	%r13, %rdi
	callq	_free
	testq	%r14, %r14
	je	LBB0_34
## %bb.36:
	movl	(%r15), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__bfd_error_handler             ## TAILCALL
LBB0_34:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APUINFO_SECTION_NAME,4,2       ## @APUINFO_SECTION_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"corrupt or empty %s section in %B"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.1:                               ## @.str.1
	.asciz	"unable to read in %s section from %B"

L_.str.2:                               ## @.str.2
	.asciz	"corrupt %s section in %B"

	.comm	_APUINFO_LABEL,4,2              ## @APUINFO_LABEL
L_.str.3:                               ## @.str.3
	.asciz	"warning: unable to set size of %s section in %B"

	.no_dead_strip	_ppc_elf_begin_write_processing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc_elf_begin_write_processing
_ppc_elf_begin_write_processing:        ; @ppc_elf_begin_write_processing
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x1, LBB0_31
; %bb.1:
	mov	x22, x1
	ldr	x20, [x1]
	cbz	x20, LBB0_31
; %bb.2:
	mov	x19, x0
	mov	w24, #0
	mov	x21, #0
Lloh0:
	adrp	x23, _APUINFO_SECTION_NAME@GOTPAGE
Lloh1:
	ldr	x23, [x23, _APUINFO_SECTION_NAME@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20]
	cbz	x20, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	ldr	x8, [x0]
	add	x21, x8, x21
	b	LBB0_3
LBB0_6:
	cbz	w24, LBB0_31
; %bb.7:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_31
; %bb.8:
	mov	x0, x21
	bl	_bfd_malloc
	cbz	x0, LBB0_31
; %bb.9:
	mov	x20, x0
	bl	_apuinfo_list_init
	ldr	x22, [x22]
	cbz	x22, LBB0_23
; %bb.10:
	mov	x24, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x22, [x22]
	cbz	x22, LBB0_23
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	ldr	w1, [x23]
	mov	x0, x22
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x26, [x0]
	cmp	x26, #24
	b.lo	LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x0, #8]
Lloh2:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_bfd_seek
	cbnz	x0, LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x27, x20, x24
	mov	x0, x27
	mov	x1, x26
	mov	x2, x22
	bl	_bfd_bread
	cmp	x0, x26
	b.ne	LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x25, x0
	mov	x0, x22
	mov	x1, x27
	bl	_bfd_get_32
	cmp	x0, #4
	b.ne	LBB0_29
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x1, x27, #8
	mov	x0, x22
	bl	_bfd_get_32
	cmp	x0, #2
	b.ne	LBB0_29
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x0, x27, #12
Lloh7:
	adrp	x8, _APUINFO_LABEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _APUINFO_LABEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_strcmp
	cbnz	x0, LBB0_29
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x1, x27, #4
	mov	x0, x22
	bl	_bfd_get_32
	add	x8, x0, #20
	cmp	x8, x26
	add	x24, x26, x24
	ccmp	x24, x21, #2, eq
	b.hi	LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x28, x0
	cbz	x0, LBB0_11
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x25, #0
	add	x26, x27, #20
LBB0_22:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x26, x25
	mov	x0, x22
	bl	_bfd_get_32
	bl	_apuinfo_list_add
	add	w25, w25, #4
	cmp	x28, x25
	b.hi	LBB0_22
	b	LBB0_11
LBB0_23:
	bl	_apuinfo_list_length
	lsl	w8, w0, #2
	add	w21, w8, #20
	ldr	w1, [x23]
	mov	x0, x19
	bl	_bfd_get_section_by_name
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_bfd_set_section_size
	cbz	w0, LBB0_25
; %bb.24:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_free
LBB0_25:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x22, x19
	b	LBB0_28
LBB0_26:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_27:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
LBB0_28:
	bl	__
	mov	x25, x0
LBB0_29:
	mov	x0, x20
	bl	_free
	cbz	x25, LBB0_31
; %bb.30:
	ldr	w2, [x23]
	mov	x0, x25
	mov	x1, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	__bfd_error_handler
LBB0_31:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_APUINFO_SECTION_NAME,4,2       ; @APUINFO_SECTION_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"corrupt or empty %s section in %B"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.1:                               ; @.str.1
	.asciz	"unable to read in %s section from %B"

l_.str.2:                               ; @.str.2
	.asciz	"corrupt %s section in %B"

	.comm	_APUINFO_LABEL,4,2              ; @APUINFO_LABEL
l_.str.3:                               ; @.str.3
	.asciz	"warning: unable to set size of %s section in %B"

	.no_dead_strip	_ppc_elf_begin_write_processing
.subsections_via_symbols
