	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pthread_barrierattr_setpshared ## -- Begin function pthread_barrierattr_setpshared
	.p2align	4, 0x90
_pthread_barrierattr_setpshared:        ## @pthread_barrierattr_setpshared
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.2:
	movq	_PTHREAD_PROCESS_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PTHREAD_PROCESS_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%esi, %edi
	je	LBB0_4
## %bb.3:
	cmpl	%esi, %edx
	je	LBB0_4
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	cmpl	%esi, %edi
	jne	LBB0_6
## %bb.5:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edx, %esi
LBB0_6:
	movl	%esi, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTHREAD_PROCESS_SHARED,4,2     ## @PTHREAD_PROCESS_SHARED
	.comm	_PTHREAD_PROCESS_PRIVATE,4,2    ## @PTHREAD_PROCESS_PRIVATE
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pthread_barrierattr_setpshared ; -- Begin function pthread_barrierattr_setpshared
	.p2align	2
_pthread_barrierattr_setpshared:        ; @pthread_barrierattr_setpshared
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _PTHREAD_PROCESS_SHARED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PTHREAD_PROCESS_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _PTHREAD_PROCESS_PRIVATE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PTHREAD_PROCESS_PRIVATE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w1
	ccmp	w10, w1, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x11, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ENOSYS@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	cmp	w9, w1
	csel	w9, w10, w1, eq
	csel	w0, w11, wzr, eq
	str	w9, [x8]
	ret
LBB0_4:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PTHREAD_PROCESS_SHARED,4,2     ; @PTHREAD_PROCESS_SHARED
	.comm	_PTHREAD_PROCESS_PRIVATE,4,2    ; @PTHREAD_PROCESS_PRIVATE
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
