	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509V3_EXT_get_nid             ## -- Begin function X509V3_EXT_get_nid
	.p2align	4, 0x90
_X509V3_EXT_get_nid:                    ## @X509V3_EXT_get_nid
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	leaq	-16(%rbp), %rax
	movq	%rax, -24(%rbp)
	testl	%edi, %edi
	js	LBB0_6
## %bb.1:
	movl	%edi, -16(%rbp)
	movq	_standard_exts@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STANDARD_EXTENSION_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rdi
	callq	_OBJ_bsearch_ext
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rax), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_ext_list@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_6
## %bb.5:
	leaq	-16(%rbp), %rsi
	callq	_sk_X509V3_EXT_METHOD_find
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_sk_X509V3_EXT_METHOD_value
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_standard_exts,4,2              ## @standard_exts
	.comm	_STANDARD_EXTENSION_COUNT,4,2   ## @STANDARD_EXTENSION_COUNT
	.comm	_ext_list,4,2                   ## @ext_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509V3_EXT_get_nid             ; -- Begin function X509V3_EXT_get_nid
	.p2align	2
_X509V3_EXT_get_nid:                    ; @X509V3_EXT_get_nid
	.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
	add	x8, sp, #8
	str	x8, [sp]
	tbnz	w0, #31, LBB0_5
; %bb.1:
	str	w0, [sp, #8]
Lloh0:
	adrp	x8, _standard_exts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _standard_exts@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _STANDARD_EXTENSION_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STANDARD_EXTENSION_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, sp
	bl	_OBJ_bsearch_ext
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x0]
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x19, _ext_list@GOTPAGE
Lloh7:
	ldr	x19, [x19, _ext_list@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w0, LBB0_5
; %bb.4:
	add	x1, sp, #8
	bl	_sk_X509V3_EXT_METHOD_find
	mov	x1, x0
	ldr	w0, [x19]
	bl	_sk_X509V3_EXT_METHOD_value
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_standard_exts,4,2              ; @standard_exts
	.comm	_STANDARD_EXTENSION_COUNT,4,2   ; @STANDARD_EXTENSION_COUNT
	.comm	_ext_list,4,2                   ; @ext_list
.subsections_via_symbols
