	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function receiver
_receiver:                              ## @receiver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_shmkey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_pgsize@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_shmget
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_shmat
	movq	%rax, %rbx
	cmpq	$-1, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movq	_m_str@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_6:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_shmkey,4,2                     ## @shmkey
	.comm	_pgsize,4,2                     ## @pgsize
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"receiver: shmget"

L_.str.1:                               ## @.str.1
	.asciz	"receiver: shmat"

L_.str.2:                               ## @.str.2
	.asciz	"%s\n"

	.comm	_m_str,4,2                      ## @m_str
L_.str.3:                               ## @.str.3
	.asciz	"receiver: data isn't correct"

	.no_dead_strip	_receiver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function receiver
_receiver:                              ; @receiver
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _shmkey@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shmkey@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _pgsize@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pgsize@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_shmget
	mov	x19, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_shmat
	mov	x19, x0
	cmn	x0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_printf
Lloh12:
	adrp	x8, _m_str@GOTPAGE
Lloh13:
	ldr	x8, [x8, _m_str@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.5:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_shmkey,4,2                     ; @shmkey
	.comm	_pgsize,4,2                     ; @pgsize
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"receiver: shmget"

l_.str.1:                               ; @.str.1
	.asciz	"receiver: shmat"

l_.str.2:                               ; @.str.2
	.asciz	"%s\n"

	.comm	_m_str,4,2                      ; @m_str
l_.str.3:                               ; @.str.3
	.asciz	"receiver: data isn't correct"

	.no_dead_strip	_receiver
.subsections_via_symbols
