	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DH_get_nid                     ## -- Begin function DH_get_nid
	.p2align	4, 0x90
_DH_get_nid:                            ## @DH_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_BN_get_word
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdi
	movq	__bignum_ffdhe2048_p@GOTPCREL(%rip), %rsi
	callq	_BN_cmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rdi
	movq	__bignum_ffdhe3072_p@GOTPCREL(%rip), %rsi
	callq	_BN_cmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	8(%rbx), %rdi
	movq	__bignum_ffdhe4096_p@GOTPCREL(%rip), %rsi
	callq	_BN_cmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	8(%rbx), %rdi
	movq	__bignum_ffdhe6144_p@GOTPCREL(%rip), %rsi
	callq	_BN_cmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	8(%rbx), %rdi
	movq	__bignum_ffdhe8192_p@GOTPCREL(%rip), %rsi
	callq	_BN_cmp
	testl	%eax, %eax
	je	LBB0_11
LBB0_1:
	movq	_NID_undef@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_18
LBB0_3:
	movq	_NID_ffdhe2048@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:
	movq	_NID_ffdhe3072@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	movq	_NID_ffdhe4096@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_NID_ffdhe6144@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_NID_ffdhe8192@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %r14d
	cmpq	$0, (%rbx)
	je	LBB0_18
## %bb.13:
	movq	8(%rbx), %rdi
	callq	_BN_dup
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_BN_rshift1
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_BN_cmp
	testl	%eax, %eax
	jne	LBB0_17
LBB0_16:
	movq	_NID_undef@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_17:
	movq	%r15, %rdi
	callq	_BN_free
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	__bignum_ffdhe2048_p,4,2        ## @_bignum_ffdhe2048_p
	.comm	_NID_ffdhe2048,4,2              ## @NID_ffdhe2048
	.comm	__bignum_ffdhe3072_p,4,2        ## @_bignum_ffdhe3072_p
	.comm	_NID_ffdhe3072,4,2              ## @NID_ffdhe3072
	.comm	__bignum_ffdhe4096_p,4,2        ## @_bignum_ffdhe4096_p
	.comm	_NID_ffdhe4096,4,2              ## @NID_ffdhe4096
	.comm	__bignum_ffdhe6144_p,4,2        ## @_bignum_ffdhe6144_p
	.comm	_NID_ffdhe6144,4,2              ## @NID_ffdhe6144
	.comm	__bignum_ffdhe8192_p,4,2        ## @_bignum_ffdhe8192_p
	.comm	_NID_ffdhe8192,4,2              ## @NID_ffdhe8192
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DH_get_nid                     ; -- Begin function DH_get_nid
	.p2align	2
_DH_get_nid:                            ; @DH_get_nid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_BN_get_word
	cmp	w0, #2
	b.ne	LBB0_6
; %bb.1:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, __bignum_ffdhe2048_p@GOTPAGE
Lloh1:
	ldr	x1, [x1, __bignum_ffdhe2048_p@GOTPAGEOFF]
	bl	_BN_cmp
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, __bignum_ffdhe3072_p@GOTPAGE
Lloh3:
	ldr	x1, [x1, __bignum_ffdhe3072_p@GOTPAGEOFF]
	bl	_BN_cmp
	cbz	w0, LBB0_8
; %bb.3:
	ldr	x0, [x19, #8]
Lloh4:
	adrp	x1, __bignum_ffdhe4096_p@GOTPAGE
Lloh5:
	ldr	x1, [x1, __bignum_ffdhe4096_p@GOTPAGEOFF]
	bl	_BN_cmp
	cbz	w0, LBB0_9
; %bb.4:
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x1, __bignum_ffdhe6144_p@GOTPAGE
Lloh7:
	ldr	x1, [x1, __bignum_ffdhe6144_p@GOTPAGEOFF]
	bl	_BN_cmp
	cbz	w0, LBB0_10
; %bb.5:
	ldr	x0, [x19, #8]
Lloh8:
	adrp	x1, __bignum_ffdhe8192_p@GOTPAGE
Lloh9:
	ldr	x1, [x1, __bignum_ffdhe8192_p@GOTPAGEOFF]
	bl	_BN_cmp
	cbz	w0, LBB0_11
LBB0_6:
Lloh10:
	adrp	x8, _NID_undef@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	b	LBB0_18
LBB0_7:
Lloh13:
	adrp	x8, _NID_ffdhe2048@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NID_ffdhe2048@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh15:
	adrp	x8, _NID_ffdhe3072@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NID_ffdhe3072@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh17:
	adrp	x8, _NID_ffdhe4096@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NID_ffdhe4096@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh19:
	adrp	x8, _NID_ffdhe6144@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NID_ffdhe6144@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh21:
	adrp	x8, _NID_ffdhe8192@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NID_ffdhe8192@GOTPAGEOFF]
LBB0_12:
	ldr	w20, [x8]
	ldr	x8, [x19]
	cbz	x8, LBB0_18
; %bb.13:
	ldr	x0, [x19, #8]
	bl	_BN_dup
	mov	x21, x0
	cbz	x0, LBB0_16
; %bb.14:
	mov	x0, x21
	mov	x1, x21
	bl	_BN_rshift1
	cbz	w0, LBB0_16
; %bb.15:
	ldr	x0, [x19]
	mov	x1, x21
	bl	_BN_cmp
	cbnz	w0, LBB0_17
LBB0_16:
Lloh23:
	adrp	x8, _NID_undef@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
LBB0_17:
	mov	x0, x21
	bl	_BN_free
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	__bignum_ffdhe2048_p,4,2        ; @_bignum_ffdhe2048_p
	.comm	_NID_ffdhe2048,4,2              ; @NID_ffdhe2048
	.comm	__bignum_ffdhe3072_p,4,2        ; @_bignum_ffdhe3072_p
	.comm	_NID_ffdhe3072,4,2              ; @NID_ffdhe3072
	.comm	__bignum_ffdhe4096_p,4,2        ; @_bignum_ffdhe4096_p
	.comm	_NID_ffdhe4096,4,2              ; @NID_ffdhe4096
	.comm	__bignum_ffdhe6144_p,4,2        ; @_bignum_ffdhe6144_p
	.comm	_NID_ffdhe6144,4,2              ; @NID_ffdhe6144
	.comm	__bignum_ffdhe8192_p,4,2        ; @_bignum_ffdhe8192_p
	.comm	_NID_ffdhe8192,4,2              ; @NID_ffdhe8192
.subsections_via_symbols
