	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___thr_rwlock_wrlock            ## -- Begin function __thr_rwlock_wrlock
	.p2align	4, 0x90
___thr_rwlock_wrlock:                   ## @__thr_rwlock_wrlock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	(%rsi), %eax
	movl	%eax, -8(%rbp)
	movq	_UMTX_ABSTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movl	$12, %ecx
	leaq	-16(%rbp), %r8
	jmp	LBB0_3
LBB0_1:
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
LBB0_3:
	movq	_UMTX_OP_RW_WRLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	__umtx_op_err
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UMTX_ABSTIME,4,2               ## @UMTX_ABSTIME
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_UMTX_OP_RW_WRLOCK,4,2          ## @UMTX_OP_RW_WRLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___thr_rwlock_wrlock            ; -- Begin function __thr_rwlock_wrlock
	.p2align	2
___thr_rwlock_wrlock:                   ; @__thr_rwlock_wrlock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w8, [x1]
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _UMTX_ABSTIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMTX_ABSTIME@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CLOCK_REALTIME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp]
	mov	x4, sp
	mov	w3, #12
	b	LBB0_3
LBB0_2:
	mov	x4, #0
	mov	x3, #0
LBB0_3:
Lloh6:
	adrp	x8, _UMTX_OP_RW_WRLOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UMTX_OP_RW_WRLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	__umtx_op_err
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UMTX_ABSTIME,4,2               ; @UMTX_ABSTIME
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_UMTX_OP_RW_WRLOCK,4,2          ; @UMTX_OP_RW_WRLOCK
.subsections_via_symbols
