	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_objects
_write_objects:                         ## @write_objects
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	movl	%edi, -20(%rbp)
	movq	_target_requires_swap@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	callq	_SWAP_16
LBB0_5:
	leaq	-20(%rbp), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_ctf_buf_write
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.7:
	movq	(%rbx), %rdx
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rdx
LBB0_8:
	movl	-20(%rbp), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_debug
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_target_requires_swap,8,3       ## @target_requires_swap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wrote object %s (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"(null)"

	.no_dead_strip	_write_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_objects
_write_objects:                         ; @write_objects
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
LBB0_2:
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _target_requires_swap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_requires_swap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_SWAP_16
LBB0_4:
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #4
	bl	_ctf_buf_write
	cbz	x19, LBB0_6
; %bb.5:
	ldr	x2, [x19]
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
	ldr	w3, [sp, #12]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_debug
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_target_requires_swap,8,3       ; @target_requires_swap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wrote object %s (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"(null)"

	.no_dead_strip	_write_objects
.subsections_via_symbols
