	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_svr4_symtab_entry
_write_svr4_symtab_entry:               ## @write_svr4_symtab_entry
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rbx,8), %rdi
	callq	_htobe32
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movq	(%r15), %rdi
	cmpq	%rdi, %rbx
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%edi, %edi
LBB0_4:
	callq	_htobe32
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$8, %ecx
	callq	_write_data
	movq	8(%r15), %rdx
	movl	(%r15), %ecx
	shll	$3, %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_write_data
	movq	16(%r15), %rdx
	movl	24(%r15), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_write_data
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_write_svr4_symtab_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_svr4_symtab_entry
_write_svr4_symtab_entry:               ; @write_svr4_symtab_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x21, #0
	ldr	x8, [x20, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x22, x21, #3
	ldr	x0, [x8, x22]
	bl	_htobe32
	ldr	x8, [x20, #8]
	str	x0, [x8, x22]
	add	x21, x21, #1
	ldr	x0, [x20]
	cmp	x21, x0
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	bl	_htobe32
	str	w0, [sp, #12]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w3, #8
	bl	_write_data
	ldr	x2, [x20, #8]
	ldr	w8, [x20]
	lsl	w3, w8, #3
	mov	x0, x20
	mov	x1, x19
	bl	_write_data
	ldr	x2, [x20, #16]
	ldr	w3, [x20, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_write_data
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_write_svr4_symtab_entry
.subsections_via_symbols
