	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__pthread_condattr_setclock     ## -- Begin function _pthread_condattr_setclock
	.p2align	4, 0x90
__pthread_condattr_setclock:            ## @_pthread_condattr_setclock
	.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_2
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	je	LBB0_7
## %bb.4:
	movq	_CLOCK_VIRTUAL@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	je	LBB0_7
## %bb.5:
	movq	_CLOCK_PROF@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	je	LBB0_7
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	movq	%rsi, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CLOCK_REALTIME,8,3             ## @CLOCK_REALTIME
	.comm	_CLOCK_VIRTUAL,8,3              ## @CLOCK_VIRTUAL
	.comm	_CLOCK_PROF,8,3                 ## @CLOCK_PROF
	.comm	_CLOCK_MONOTONIC,8,3            ## @CLOCK_MONOTONIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__pthread_condattr_setclock     ; -- Begin function _pthread_condattr_setclock
	.p2align	2
__pthread_condattr_setclock:            ; @_pthread_condattr_setclock
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _CLOCK_REALTIME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh2:
	adrp	x10, _CLOCK_VIRTUAL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CLOCK_VIRTUAL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _CLOCK_PROF@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CLOCK_PROF@GOTPAGEOFF]
Lloh8:
	adrp	x12, _CLOCK_MONOTONIC@GOTPAGE
Lloh9:
	ldr	x12, [x12, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	ldr	x12, [x12]
	cmp	x9, x1
	ccmp	x10, x1, #4, ne
	ccmp	x11, x1, #4, ne
	ccmp	x12, x1, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	str	x1, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CLOCK_REALTIME,8,3             ; @CLOCK_REALTIME
	.comm	_CLOCK_VIRTUAL,8,3              ; @CLOCK_VIRTUAL
	.comm	_CLOCK_PROF,8,3                 ; @CLOCK_PROF
	.comm	_CLOCK_MONOTONIC,8,3            ; @CLOCK_MONOTONIC
.subsections_via_symbols
