	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rumptest_lockme                ## -- Begin function rumptest_lockme
	.p2align	4, 0x90
_rumptest_lockme:                       ## @rumptest_lockme
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	leaq	-32(%rbp), %rdi
	callq	_rw_init
	movq	_MUTEX_DEFAULT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_IPL_NONE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-28(%rbp), %rdi
	callq	_mutex_init
	addl	$-128, %ebx
	cmpl	$7, %ebx
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_RW_WRITER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_rw_enter
	movq	_RW_READER@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_RW_READER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_rw_enter
	movq	_RW_WRITER@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	jmp	LBB0_6
LBB0_3:
	movq	_RW_WRITER@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_rw_enter
	movl	(%r14), %esi
LBB0_6:
	movq	%rbx, %rdi
	callq	_rw_enter
	jmp	LBB0_13
LBB0_2:
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_mutex_enter
	movq	%rbx, %rdi
	callq	_mutex_enter
	jmp	LBB0_13
LBB0_12:
	movq	_KM_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmem_alloc
	movq	%rax, %rbx
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rax, %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_kmem_free
	jmp	LBB0_13
LBB0_8:
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	-28(%rbp), %rdi
	callq	_mutex_init
	jmp	LBB0_13
LBB0_9:
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_mutex_destroy
	jmp	LBB0_10
LBB0_11:
	leaq	-28(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_mutex_enter
LBB0_10:
	movq	%rbx, %rdi
	callq	_mutex_destroy
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_MUTEX_DEFAULT,4,2              ## @MUTEX_DEFAULT
	.comm	_IPL_NONE,4,2                   ## @IPL_NONE
	.comm	_RW_WRITER,4,2                  ## @RW_WRITER
	.comm	_RW_READER,4,2                  ## @RW_READER
	.comm	_KM_SLEEP,4,2                   ## @KM_SLEEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rumptest_lockme                ; -- Begin function rumptest_lockme
	.p2align	2
_rumptest_lockme:                       ; @rumptest_lockme
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	add	x0, sp, #8
	bl	_rw_init
Lloh0:
	adrp	x20, _MUTEX_DEFAULT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MUTEX_DEFAULT@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _IPL_NONE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IPL_NONE@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x0, sp, #12
	bl	_mutex_init
	sub	w8, w19, #128
	cmp	w8, #7
	b.hi	LBB0_13
; %bb.1:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh6:
	adrp	x8, _RW_WRITER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RW_WRITER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_rw_enter
Lloh9:
	adrp	x8, _RW_READER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RW_READER@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _RW_READER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RW_READER@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_rw_enter
Lloh14:
	adrp	x8, _RW_WRITER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RW_WRITER@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x19, _RW_WRITER@GOTPAGE
Lloh17:
	ldr	x19, [x19, _RW_WRITER@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x0, sp, #8
	bl	_rw_enter
	ldr	w1, [x19]
LBB0_6:
	add	x0, sp, #8
	bl	_rw_enter
	b	LBB0_13
LBB0_7:
	add	x0, sp, #12
	bl	_mutex_enter
	add	x0, sp, #12
	bl	_mutex_enter
	b	LBB0_13
LBB0_8:
Lloh18:
	adrp	x8, _KM_SLEEP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _KM_SLEEP@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmem_alloc
	mov	x19, x0
	ldr	w1, [x20]
	ldr	w2, [x21]
	bl	_mutex_init
	mov	x0, x19
	mov	w1, #4
	bl	_kmem_free
	b	LBB0_13
LBB0_9:
	ldr	w1, [x20]
	ldr	w2, [x21]
	add	x0, sp, #12
	bl	_mutex_init
	b	LBB0_13
LBB0_10:
	add	x0, sp, #12
	bl	_mutex_destroy
	b	LBB0_12
LBB0_11:
	add	x0, sp, #12
	bl	_mutex_enter
LBB0_12:
	add	x0, sp, #12
	bl	_mutex_destroy
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_MUTEX_DEFAULT,4,2              ; @MUTEX_DEFAULT
	.comm	_IPL_NONE,4,2                   ; @IPL_NONE
	.comm	_RW_WRITER,4,2                  ; @RW_WRITER
	.comm	_RW_READER,4,2                  ; @RW_READER
	.comm	_KM_SLEEP,4,2                   ; @KM_SLEEP
.subsections_via_symbols
