	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_one
_write_one:                             ## @write_one
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rsi), %ecx
	xorl	%r12d, %r12d
	cmpl	$1, %ecx
	sete	%al
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_warning
	movl	$128, %eax
	jmp	LBB0_15
LBB0_2:
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_4:
	movq	_WRITE_ONE_SKIP@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movb	%al, %r12b
	movq	%rbx, %rdi
	callq	_DELTA
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	callq	_DELTA
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_write_one
	cmpl	$129, %eax
	je	LBB0_10
## %bb.7:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_SET_DELTA
LBB0_9:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	(%r14), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_write_object
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	%eax, %r15d
	movq	_written_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nr_written@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rcx)
	movq	%rbx, (%rax,%rdx,8)
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_signed_add_overflows
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_13:
	addl	%r15d, (%r14)
	movq	_WRITE_ONE_WRITTEN@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movl	%r12d, (%rbx)
	movl	$129, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recursive delta detected for object %s"

	.comm	_WRITE_ONE_SKIP,4,2             ## @WRITE_ONE_SKIP
	.comm	_written_list,8,3               ## @written_list
	.comm	_nr_written,4,2                 ## @nr_written
L_.str.1:                               ## @.str.1
	.asciz	"pack too large for current definition of off_t"

	.comm	_WRITE_ONE_WRITTEN,4,2          ## @WRITE_ONE_WRITTEN
	.no_dead_strip	_write_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_one
_write_one:                             ; @write_one
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	ldr	w8, [x1]
	cmp	w8, #1
	cset	w22, eq
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x19, x0
	add	x0, x20, #4
	bl	_oid_to_hex
	mov	x1, x0
	mov	x0, x19
	bl	_warning
	mov	w0, #128
	b	LBB0_6
LBB0_2:
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _WRITE_ONE_SKIP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WRITE_ONE_SKIP@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x19, x2
	mov	x21, x0
	mov	x0, x20
	bl	_DELTA
	cbz	x0, LBB0_11
; %bb.8:
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x20
	bl	_DELTA
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	bl	_write_one
	cmp	w0, #129
	b.eq	LBB0_16
; %bb.9:
	cmp	w0, #128
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, #0
	bl	_SET_DELTA
LBB0_11:
	ldr	w8, [x19]
	str	w8, [x20]
	ldr	w2, [x19]
	mov	x0, x21
	mov	x1, x20
	bl	_write_object
	cbz	w0, LBB0_15
; %bb.12:
	mov	x21, x0
Lloh4:
	adrp	x8, _written_list@GOTPAGE
Lloh5:
	ldr	x8, [x8, _written_list@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _nr_written@GOTPAGE
Lloh8:
	ldr	x9, [x9, _nr_written@GOTPAGEOFF]
	ldrsw	x10, [x9]
	add	w11, w10, #1
	str	w11, [x9]
	str	x20, [x8, x10, lsl #3]
	ldr	w0, [x19]
	mov	x1, x21
	bl	_signed_add_overflows
	cbz	x0, LBB0_14
; %bb.13:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_die
LBB0_14:
	ldr	w8, [x19]
	add	w8, w8, w21
	str	w8, [x19]
Lloh11:
	adrp	x8, _WRITE_ONE_WRITTEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WRITE_ONE_WRITTEN@GOTPAGEOFF]
	b	LBB0_5
LBB0_15:
	str	w22, [x20]
	mov	w0, #129
	b	LBB0_6
LBB0_16:
	str	w22, [x20]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recursive delta detected for object %s"

	.comm	_WRITE_ONE_SKIP,4,2             ; @WRITE_ONE_SKIP
	.comm	_written_list,8,3               ; @written_list
	.comm	_nr_written,4,2                 ; @nr_written
l_.str.1:                               ; @.str.1
	.asciz	"pack too large for current definition of off_t"

	.comm	_WRITE_ONE_WRITTEN,4,2          ; @WRITE_ONE_WRITTEN
	.no_dead_strip	_write_one
.subsections_via_symbols
