	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_clock_getres               ## -- Begin function sys_clock_getres
	.p2align	4, 0x90
_sys_clock_getres:                      ## @sys_clock_getres
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_STRACE
	cmpl	$128, %ebx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_10
## %bb.3:
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	leaq	-24(%rbp), %rsi
	callq	_clock_getres
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	-24(%rbp), %rsi
	movl	%r14d, %edi
	callq	_user_put
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	__EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_5:
	xorl	%eax, %eax
	callq	_errno_map
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock_getres(%d, %#x)"

	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.comm	__EFAULT,4,2                    ## @_EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_clock_getres               ; -- Begin function sys_clock_getres
	.p2align	2
_sys_clock_getres:                      ; @sys_clock_getres
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_STRACE
	cmp	w20, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_6
; %bb.2:
Lloh2:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_clock_getres
	tbnz	w0, #31, LBB0_7
; %bb.5:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_user_put
Lloh6:
	adrp	x8, __EFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, __EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_7:
	bl	_errno_map
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock_getres(%d, %#x)"

	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.comm	__EFAULT,4,2                    ; @_EFAULT
.subsections_via_symbols
