	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_data
_setup_data:                            ## @setup_data
	.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
	xorl	%eax, %eax
	callq	_getpagesize
	movl	$32, %edi
	movl	%eax, %esi
	callq	_P2ROUNDUP
	movq	_PROT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MAP_SHARED@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_ztest_fd_data@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	xorl	%edi, %edi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %rbx
	movq	_MAP_FAILED@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	%rax, (%r12)
	setne	%dil
	callq	_ASSERT
	movq	%rbx, %rdi
	callq	_shared_data_size
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_getpagesize
	movl	$32, %edi
	movl	%eax, %esi
	callq	_P2ROUNDUP
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_munmap
	xorl	%eax, %eax
	callq	_getpagesize
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_P2ROUNDUP
	movq	_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_PROT_READ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%r13), %ecx
	movl	(%r15), %r8d
	xorl	%edi, %edi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	callq	_mmap
	movq	%rax, %rbx
	movq	_ztest_shared_hdr@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	xorl	%edi, %edi
	cmpq	%rbx, (%r12)
	setne	%dil
	callq	_ASSERT
	movslq	(%rbx), %rax
	leaq	(%rbx,%rax,4), %rcx
	movq	_ztest_shared_opts@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	24(%rbx), %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rax
	leaq	(%rbx,%rax,4), %rcx
	movq	_ztest_shared@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	addl	16(%rbx), %eax
	cltq
	leaq	(%rbx,%rax,4), %rcx
	movq	_ztest_shared_callstate@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	8(%rbx), %ecx
	imull	4(%rbx), %ecx
	addl	%ecx, %eax
	cltq
	leaq	(%rbx,%rax,4), %rax
	movq	_ztest_shared_ds@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_SHARED,4,2                 ## @MAP_SHARED
	.comm	_ztest_fd_data,4,2              ## @ztest_fd_data
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_ztest_shared_hdr,8,3           ## @ztest_shared_hdr
	.comm	_ztest_shared_opts,8,3          ## @ztest_shared_opts
	.comm	_ztest_shared,8,3               ## @ztest_shared
	.comm	_ztest_shared_callstate,8,3     ## @ztest_shared_callstate
	.comm	_ztest_shared_ds,8,3            ## @ztest_shared_ds
	.no_dead_strip	_setup_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_data
_setup_data:                            ; @setup_data
	.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
	bl	_getpagesize
	mov	x1, x0
	mov	w0, #32
	bl	_P2ROUNDUP
	mov	x1, x0
Lloh0:
	adrp	x21, _PROT_READ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PROT_READ@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh2:
	adrp	x22, _MAP_SHARED@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MAP_SHARED@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh4:
	adrp	x23, _ztest_fd_data@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ztest_fd_data@GOTPAGEOFF]
	ldr	w4, [x23]
	mov	w0, #0
	mov	w5, #0
	bl	_mmap
	mov	x19, x0
Lloh6:
	adrp	x24, _MAP_FAILED@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MAP_FAILED@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, x0
	cset	w0, ne
	bl	_ASSERT
	mov	x0, x19
	bl	_shared_data_size
	mov	x20, x0
	bl	_getpagesize
	mov	x1, x0
	mov	w0, #32
	bl	_P2ROUNDUP
	mov	x1, x0
	mov	x0, x19
	bl	_munmap
	bl	_getpagesize
	mov	x1, x0
	mov	x0, x20
	bl	_P2ROUNDUP
	mov	x1, x0
	ldr	w8, [x21]
Lloh8:
	adrp	x9, _PROT_WRITE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PROT_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w3, [x22]
	ldr	w4, [x23]
	mov	w0, #0
	mov	w5, #0
	bl	_mmap
	mov	x19, x0
Lloh11:
	adrp	x8, _ztest_shared_hdr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ztest_shared_hdr@GOTPAGEOFF]
Lloh13:
	str	x0, [x8]
	ldr	x8, [x24]
	cmp	x8, x0
	cset	w0, ne
	bl	_ASSERT
	ldp	w8, w9, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x10, x19, x8, lsl #2
Lloh14:
	adrp	x11, _ztest_shared_opts@GOTPAGE
Lloh15:
	ldr	x11, [x11, _ztest_shared_opts@GOTPAGEOFF]
Lloh16:
	str	x10, [x11]
	ldr	w10, [x19, #24]
Lloh17:
	adrp	x11, _ztest_shared@GOTPAGE
Lloh18:
	ldr	x11, [x11, _ztest_shared@GOTPAGEOFF]
	ldr	w12, [x19, #16]
	add	w8, w8, w10
	add	w10, w8, w12
	add	x8, x19, w8, sxtw #2
Lloh19:
	str	x8, [x11]
	add	x8, x19, w10, sxtw #2
Lloh20:
	adrp	x11, _ztest_shared_callstate@GOTPAGE
Lloh21:
	ldr	x11, [x11, _ztest_shared_callstate@GOTPAGEOFF]
Lloh22:
	str	x8, [x11]
	ldr	w8, [x19, #8]
	madd	w8, w8, w9, w10
	add	x8, x19, w8, sxtw #2
Lloh23:
	adrp	x9, _ztest_shared_ds@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ztest_shared_ds@GOTPAGEOFF]
Lloh25:
	str	x8, [x9]
	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 AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_SHARED,4,2                 ; @MAP_SHARED
	.comm	_ztest_fd_data,4,2              ; @ztest_fd_data
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_ztest_shared_hdr,8,3           ; @ztest_shared_hdr
	.comm	_ztest_shared_opts,8,3          ; @ztest_shared_opts
	.comm	_ztest_shared,8,3               ; @ztest_shared
	.comm	_ztest_shared_callstate,8,3     ; @ztest_shared_callstate
	.comm	_ztest_shared_ds,8,3            ; @ztest_shared_ds
	.no_dead_strip	_setup_data
.subsections_via_symbols
