	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_safe_putnetobj
_svc_safe_putnetobj:                    ## @svc_safe_putnetobj
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	addq	$4, %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	movl	$-1, %r14d
	cmpq	(%r12), %rax
	jg	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rsi), %esi
	callq	_svc_putnl
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r13
	movl	(%r15), %edi
	callq	_round_up_to_quad
	cltq
	addq	(%rbx), %rax
	movq	%rax, (%rbx)
	cmpq	(%r12), %rax
	jg	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rbx
	addq	%r13, %rbx
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_memcpy
	movslq	(%r15), %rdi
	leaq	(%rbx,%rdi,4), %rbx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_round_up_to_quad
	subl	(%r15), %eax
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_svc_safe_putnetobj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_safe_putnetobj
_svc_safe_putnetobj:                    ; @svc_safe_putnetobj
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	add	x8, x8, #4
Lloh0:
	adrp	x21, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.gt	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x1]
	bl	_svc_putnl
	ldp	x23, x22, [x20]
	ldr	w0, [x19]
	bl	_round_up_to_quad
	ldr	x8, [x20]
	add	x8, x8, w0, sxtw
	str	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.le	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_4
LBB0_3:
	add	x20, x22, x23, lsl #2
	ldp	w2, w1, [x19]
	mov	x0, x20
	bl	_memcpy
	ldrsw	x0, [x19]
	add	x20, x20, x0, lsl #2
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_round_up_to_quad
	ldr	w8, [x19]
	sub	w2, w0, w8
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	mov	w0, #0
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_svc_safe_putnetobj
.subsections_via_symbols
