	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_and_lock
_get_and_lock:                          ## @get_and_lock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%edi, %edi
	js	LBB0_5
## %bb.1:
	movl	%edi, %ebx
	movq	_CRYPTO_EX_INDEX__COUNT@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_5
## %bb.2:
	movq	_do_ex_data_init@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ex_data_init@GOTPCREL(%rip), %rdi
	callq	_RUN_ONCE
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	_ex_data_lock@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.4:
	movq	_ex_data@GOTPCREL(%rip), %rax
	movl	%ebx, %ebx
	shlq	$2, %rbx
	addq	(%rax), %rbx
	callq	_CRYPTO_THREAD_write_lock
	jmp	LBB0_9
LBB0_5:
	movq	_CRYPTO_F_GET_AND_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_CRYPTO_F_GET_AND_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_CRYPTOerr
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_EX_INDEX__COUNT,4,2     ## @CRYPTO_EX_INDEX__COUNT
	.comm	_CRYPTO_F_GET_AND_LOCK,4,2      ## @CRYPTO_F_GET_AND_LOCK
	.comm	_ERR_R_PASSED_INVALID_ARGUMENT,4,2 ## @ERR_R_PASSED_INVALID_ARGUMENT
	.comm	_ex_data_init,4,2               ## @ex_data_init
	.comm	_do_ex_data_init,4,2            ## @do_ex_data_init
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ex_data_lock,8,3               ## @ex_data_lock
	.comm	_ex_data,8,3                    ## @ex_data
	.no_dead_strip	_get_and_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_and_lock
_get_and_lock:                          ; @get_and_lock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _CRYPTO_EX_INDEX__COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_EX_INDEX__COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _do_ex_data_init@GOTPAGE
Lloh4:
	ldr	x8, [x8, _do_ex_data_init@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _ex_data_init@GOTPAGE
Lloh7:
	ldr	x0, [x0, _ex_data_init@GOTPAGEOFF]
	bl	_RUN_ONCE
	cbz	w0, LBB0_6
; %bb.3:
Lloh8:
	adrp	x8, _ex_data_lock@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ex_data_lock@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	cbz	x0, LBB0_8
; %bb.4:
Lloh11:
	adrp	x8, _ex_data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ex_data@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x19, x8, w19, uxtw #2
	bl	_CRYPTO_THREAD_write_lock
	b	LBB0_9
LBB0_5:
Lloh14:
	adrp	x8, _CRYPTO_F_GET_AND_LOCK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CRYPTO_F_GET_AND_LOCK@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_PASSED_INVALID_ARGUMENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_PASSED_INVALID_ARGUMENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x8, _CRYPTO_F_GET_AND_LOCK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CRYPTO_F_GET_AND_LOCK@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	bl	_CRYPTOerr
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_EX_INDEX__COUNT,4,2     ; @CRYPTO_EX_INDEX__COUNT
	.comm	_CRYPTO_F_GET_AND_LOCK,4,2      ; @CRYPTO_F_GET_AND_LOCK
	.comm	_ERR_R_PASSED_INVALID_ARGUMENT,4,2 ; @ERR_R_PASSED_INVALID_ARGUMENT
	.comm	_ex_data_init,4,2               ; @ex_data_init
	.comm	_do_ex_data_init,4,2            ; @do_ex_data_init
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ex_data_lock,8,3               ; @ex_data_lock
	.comm	_ex_data,8,3                    ; @ex_data
	.no_dead_strip	_get_and_lock
.subsections_via_symbols
