	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_lock_type
_get_lock_type:                         ## @get_lock_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	movq	_READW_LT@GOTPCREL(%rip), %rax
	cmoveq	_READ_LT@GOTPCREL(%rip), %rax
	movq	_WRITEW_LT@GOTPCREL(%rip), %rcx
	cmoveq	_WRITE_LT@GOTPCREL(%rip), %rcx
	testq	%rdi, %rdi
	cmoveq	%rax, %rcx
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_LT,4,2                    ## @READ_LT
	.comm	_WRITE_LT,4,2                   ## @WRITE_LT
	.comm	_READW_LT,4,2                   ## @READW_LT
	.comm	_WRITEW_LT,4,2                  ## @WRITEW_LT
	.no_dead_strip	_get_lock_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_lock_type
_get_lock_type:                         ; @get_lock_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _READ_LT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ_LT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _READW_LT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _READW_LT@GOTPAGEOFF]
Lloh4:
	adrp	x10, _WRITE_LT@GOTPAGE
Lloh5:
	ldr	x10, [x10, _WRITE_LT@GOTPAGEOFF]
Lloh6:
	adrp	x11, _WRITEW_LT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _WRITEW_LT@GOTPAGEOFF]
	cmp	x1, #0
	csel	x8, x8, x9, eq
	csel	x9, x10, x11, eq
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_LT,4,2                    ; @READ_LT
	.comm	_WRITE_LT,4,2                   ; @WRITE_LT
	.comm	_READW_LT,4,2                   ; @READW_LT
	.comm	_WRITEW_LT,4,2                  ; @WRITEW_LT
	.no_dead_strip	_get_lock_type
.subsections_via_symbols
