	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b_out_write_object_contents
_b_out_write_object_contents:           ## @b_out_write_object_contents
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_aout_32_make_sections
	movq	_FALSE@GOTPCREL(%rip), %r15
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movq	_BMAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%r14d, 48(%rax)
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	12(%rax), %r14d
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%r14d, 44(%rax)
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	12(%rax), %r14d
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%r14d, 40(%rax)
	movq	%r13, %rdi
	callq	_obj_bsssec
	movl	4(%rax), %r14d
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%r14d, 36(%rax)
	movq	%r13, %rdi
	callq	_bfd_get_symcount
                                        ## kill: def $eax killed $eax def $rax
	shll	$2, %eax
	leal	(%rax,%rax,2), %r14d
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%r14d, (%rax)
	movq	%r13, %rdi
	callq	_bfd_get_start_address
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%r14d, 32(%rax)
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	(%rax), %ebx
	shll	$3, %ebx
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%ebx, 4(%rax)
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	(%rax), %ebx
	shll	$3, %ebx
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%ebx, 8(%rax)
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	8(%rax), %ebx
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%ebx, 28(%rax)
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	8(%rax), %ebx
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%ebx, 24(%rax)
	movq	%r13, %rdi
	callq	_obj_bsssec
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%ebx, 20(%rax)
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	4(%rax), %ebx
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%ebx, 16(%rax)
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	4(%rax), %ebx
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	%ebx, 12(%rax)
	movq	%r13, %rdi
	callq	_exec_hdr
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_bout_swap_exec_header_out
	movq	_EXEC_BYTES_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_SEEK_SET@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_18
## %bb.2:
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_bfd_bwrite
	cmpq	%r14, %rax
	jne	LBB0_18
## %bb.3:
	movq	%r13, %rdi
	callq	_bfd_get_symcount
	testl	%eax, %eax
	je	LBB0_17
## %bb.4:
	movq	%r13, %rdi
	callq	_bfd_get_outsymbols
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_bfd_get_symcount
	cltq
	leaq	(%r14,%rax,8), %rsi
	leaq	(%r14,%rax,8), %rax
	addq	$-8, %rax
	cmpq	%r14, %rax
	jae	LBB0_5
LBB0_9:
	subq	%r14, %rsi
	jbe	LBB0_11
## %bb.10:
	sarq	$3, %rsi
	movq	_b_out_symbol_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_qsort
LBB0_11:
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	48(%rax), %ecx
	movl	%ecx, -64(%rbp)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movaps	%xmm2, -80(%rbp)
	movaps	%xmm1, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	-64(%rbp), %eax
	movl	%eax, 48(%rsp)
	movaps	-112(%rbp), %xmm0
	movaps	-96(%rbp), %xmm1
	movaps	-80(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_N_SYMOFF
	movl	(%r12), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_18
## %bb.12:
	movq	%r13, %rdi
	callq	_aout_32_write_syms
	testl	%eax, %eax
	je	LBB0_18
## %bb.13:
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	48(%rax), %ecx
	movl	%ecx, -64(%rbp)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movaps	%xmm2, -80(%rbp)
	movaps	%xmm1, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	-64(%rbp), %eax
	movl	%eax, 48(%rsp)
	movaps	-112(%rbp), %xmm0
	movaps	-96(%rbp), %xmm1
	movaps	-80(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_N_TROFF
	movl	(%r12), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_18
## %bb.14:
	movq	%r13, %rdi
	callq	_obj_textsec
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_b_out_squirt_out_relocs
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movq	%r13, %rdi
	callq	_exec_hdr
	movl	48(%rax), %ecx
	movl	%ecx, -64(%rbp)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movaps	%xmm2, -80(%rbp)
	movaps	%xmm1, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	-64(%rbp), %eax
	movl	%eax, 48(%rsp)
	movaps	-112(%rbp), %xmm0
	movaps	-96(%rbp), %xmm1
	movaps	-80(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_N_DROFF
	movl	(%r12), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:
	movq	%r13, %rdi
	callq	_obj_datasec
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_b_out_squirt_out_relocs
	testl	%eax, %eax
	je	LBB0_18
LBB0_17:
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_18:
	movl	(%r15), %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_BSF_DEBUGGING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	addq	$-8, %rax
	cmpq	%r14, %rax
	jb	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-8(%rsi), %rdi
	movq	%rdx, -8(%rsi)
	addq	$-8, %rsi
	movq	%rdi, (%rax)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_BMAGIC,4,2                     ## @BMAGIC
	.comm	_EXEC_BYTES_SIZE,8,3            ## @EXEC_BYTES_SIZE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_BSF_DEBUGGING,4,2              ## @BSF_DEBUGGING
	.comm	_b_out_symbol_cmp,4,2           ## @b_out_symbol_cmp
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_b_out_write_object_contents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b_out_write_object_contents
_b_out_write_object_contents:           ; @b_out_write_object_contents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
	bl	_aout_32_make_sections
	cbz	w0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _BMAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BMAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #48]
	mov	x0, x19
	bl	_obj_textsec
	ldr	w20, [x0, #12]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #44]
	mov	x0, x19
	bl	_obj_datasec
	ldr	w20, [x0, #12]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #40]
	mov	x0, x19
	bl	_obj_bsssec
	ldr	w20, [x0, #4]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #36]
	mov	x0, x19
	bl	_bfd_get_symcount
	add	w8, w0, w0, lsl #1
	lsl	w20, w8, #2
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0]
	mov	x0, x19
	bl	_bfd_get_start_address
	mov	x20, x0
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #32]
	mov	x0, x19
	bl	_obj_textsec
	ldr	w8, [x0]
	lsl	w20, w8, #3
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #4]
	mov	x0, x19
	bl	_obj_datasec
	ldr	w8, [x0]
	lsl	w20, w8, #3
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #8]
	mov	x0, x19
	bl	_obj_textsec
	ldr	w20, [x0, #8]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #28]
	mov	x0, x19
	bl	_obj_datasec
	ldr	w20, [x0, #8]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #24]
	mov	x0, x19
	bl	_obj_bsssec
	ldr	w20, [x0]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #20]
	mov	x0, x19
	bl	_obj_textsec
	ldr	w20, [x0, #4]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #16]
	mov	x0, x19
	bl	_obj_datasec
	ldr	w20, [x0, #4]
	mov	x0, x19
	bl	_exec_hdr
	str	w20, [x0, #12]
	mov	x0, x19
	bl	_exec_hdr
	mov	x1, x0
	sub	x2, x29, #40
	mov	x0, x19
	bl	_bout_swap_exec_header_out
Lloh3:
	adrp	x8, _EXEC_BYTES_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXEC_BYTES_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
Lloh6:
	adrp	x21, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x21, [x21, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #0
	bl	_bfd_seek
	cbnz	x0, LBB0_8
; %bb.2:
	sub	x0, x29, #40
	mov	x1, x20
	mov	x2, x19
	bl	_bfd_bwrite
	cmp	x0, x20
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_bfd_get_symcount
	cbz	w0, LBB0_19
; %bb.4:
	mov	x0, x19
	bl	_bfd_get_outsymbols
	mov	x20, x0
	mov	x0, x19
	bl	_bfd_get_symcount
	add	x8, x20, w0, sxtw #3
	sub	x9, x8, #8
	cmp	x9, x20
	b.hs	LBB0_10
LBB0_5:
	subs	x8, x8, x20
	b.ls	LBB0_7
; %bb.6:
	asr	x1, x8, #3
Lloh8:
	adrp	x8, _b_out_symbol_cmp@GOTPAGE
Lloh9:
	ldr	x8, [x8, _b_out_symbol_cmp@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #8
	bl	_qsort
LBB0_7:
	mov	x0, x19
	bl	_exec_hdr
	ldp	q0, q1, [x0]
	ldr	q2, [x0, #32]
	ldr	w8, [x0, #48]
	str	w8, [sp, #48]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	mov	x0, sp
	bl	_N_SYMOFF
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_bfd_seek
	cbz	x0, LBB0_14
LBB0_8:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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
	add	sp, sp, #112
	ret
LBB0_10:
Lloh13:
	adrp	x10, _BSF_DEBUGGING@GOTPAGE
Lloh14:
	ldr	x10, [x10, _BSF_DEBUGGING@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	sub	x9, x9, #8
	cmp	x9, x20
	b.lo	LBB0_5
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	w12, [x11]
	tst	w10, w12
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x12, [x8, #-8]!
	str	x11, [x8]
	str	x12, [x9]
	b	LBB0_11
LBB0_14:
	mov	x0, x19
	bl	_aout_32_write_syms
	cbz	w0, LBB0_8
; %bb.15:
	mov	x0, x19
	bl	_exec_hdr
	ldp	q0, q1, [x0]
	ldr	q2, [x0, #32]
	ldr	w8, [x0, #48]
	str	w8, [sp, #48]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	mov	x0, sp
	bl	_N_TROFF
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_bfd_seek
	cbnz	x0, LBB0_8
; %bb.16:
	mov	x0, x19
	bl	_obj_textsec
	mov	x1, x0
	mov	x0, x19
	bl	_b_out_squirt_out_relocs
	cbz	w0, LBB0_8
; %bb.17:
	mov	x0, x19
	bl	_exec_hdr
	ldp	q0, q1, [x0]
	ldr	q2, [x0, #32]
	ldr	w8, [x0, #48]
	str	w8, [sp, #48]
	stp	q1, q2, [sp, #16]
	str	q0, [sp]
	mov	x0, sp
	bl	_N_DROFF
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_bfd_seek
	cbnz	x0, LBB0_8
; %bb.18:
	mov	x0, x19
	bl	_obj_datasec
	mov	x1, x0
	mov	x0, x19
	bl	_b_out_squirt_out_relocs
	cbz	w0, LBB0_8
LBB0_19:
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_BMAGIC,4,2                     ; @BMAGIC
	.comm	_EXEC_BYTES_SIZE,8,3            ; @EXEC_BYTES_SIZE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_BSF_DEBUGGING,4,2              ; @BSF_DEBUGGING
	.comm	_b_out_symbol_cmp,4,2           ; @b_out_symbol_cmp
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_b_out_write_object_contents
.subsections_via_symbols
