	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__pthread_mutexattr_setpshared  ## -- Begin function _pthread_mutexattr_setpshared
	.p2align	4, 0x90
__pthread_mutexattr_setpshared:         ## @_pthread_mutexattr_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_4
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_PTHREAD_PROCESS_PRIVATE@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_5
## %bb.3:
	movq	_PTHREAD_PROCESS_SHARED@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	movl	%esi, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTHREAD_PROCESS_PRIVATE,4,2    ## @PTHREAD_PROCESS_PRIVATE
	.comm	_PTHREAD_PROCESS_SHARED,4,2     ## @PTHREAD_PROCESS_SHARED
	.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_mutexattr_setpshared  ; -- Begin function _pthread_mutexattr_setpshared
	.p2align	2
__pthread_mutexattr_setpshared:         ; @_pthread_mutexattr_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_PRIVATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PTHREAD_PROCESS_PRIVATE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _PTHREAD_PROCESS_SHARED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PTHREAD_PROCESS_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w1
	ccmp	w10, w1, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	str	w1, [x8]
	ret
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PTHREAD_PROCESS_PRIVATE,4,2    ; @PTHREAD_PROCESS_PRIVATE
	.comm	_PTHREAD_PROCESS_SHARED,4,2     ; @PTHREAD_PROCESS_SHARED
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
