	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_object_file_literally     ## -- Begin function hash_object_file_literally
	.p2align	4, 0x90
_hash_object_file_literally:            ## @hash_object_file_literally
	.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
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_strlen
	movq	_MAX_HEADER_LEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	movl	%eax, %edi
	callq	_xmalloc
	movq	%rax, %r15
	leaq	-44(%rbp), %r9
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%rax, %r8
	callq	_write_object_file_prepare
	movq	_HASH_WRITE_OBJECT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	callq	_freshen_packed_object
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	callq	_freshen_loose_object
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	xorl	%r9d, %r9d
	callq	_write_loose_object
	movl	%eax, %r13d
LBB0_4:
	movq	%r15, %rdi
	callq	_free
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_HEADER_LEN,4,2             ## @MAX_HEADER_LEN
	.comm	_HASH_WRITE_OBJECT,4,2          ## @HASH_WRITE_OBJECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_object_file_literally     ; -- Begin function hash_object_file_literally
	.p2align	2
_hash_object_file_literally:            ; @hash_object_file_literally
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_strlen
Lloh0:
	adrp	x8, _MAX_HEADER_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_HEADER_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w0, w8, w0
	str	w0, [sp, #12]
	bl	_xmalloc
	mov	x19, x0
	add	x5, sp, #12
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, x22
	mov	x4, x19
	bl	_write_object_file_prepare
Lloh3:
	adrp	x8, _HASH_WRITE_OBJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_WRITE_OBJECT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_freshen_packed_object
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_freshen_loose_object
	cbz	x0, LBB0_5
LBB0_3:
	mov	w20, #0
LBB0_4:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	w2, [sp, #12]
	mov	x0, x22
	mov	x1, x19
	mov	x3, x21
	mov	x4, x20
	mov	w5, #0
	bl	_write_loose_object
	mov	x20, x0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_HEADER_LEN,4,2             ; @MAX_HEADER_LEN
	.comm	_HASH_WRITE_OBJECT,4,2          ; @HASH_WRITE_OBJECT
.subsections_via_symbols
