	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlsv1_set_dhparams_der
_tlsv1_set_dhparams_der:                ## @tlsv1_set_dhparams_der
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-72(%rbp), %rdx
	movq	%rsi, %rdi
	movl	%r15d, %esi
	callq	_asn1_get_next
	movq	-72(%rbp), %rdx
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	_ASN1_CLASS_UNIVERSAL@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rdx
	jne	LBB0_3
## %bb.2:
	movq	-64(%rbp), %rax
	movq	_ASN1_TAG_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	leaq	(%rbx,%r15,4), %r15
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	subq	%rdi, %rsi
	shrq	$2, %rsi
	leaq	-72(%rbp), %rdx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_asn1_get_next
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_17
## %bb.5:
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	cmpq	(%r12), %rdx
	jne	LBB0_7
## %bb.6:
	movq	_ASN1_TAG_INTEGER@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rcx
	jne	LBB0_7
## %bb.8:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %rdx
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_hexdump
	cmpq	$0, -56(%rbp)
	je	LBB0_17
## %bb.9:
	movq	24(%r14), %rdi
	callq	_os_free
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdi
	callq	_os_memdup
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	je	LBB0_17
## %bb.10:
	movq	-56(%rbp), %rdi
	movq	%rdi, (%r14)
	shlq	$2, %rdi
	addq	-48(%rbp), %rdi
	subq	%rdi, %r15
	shrq	$2, %r15
	leaq	-72(%rbp), %rdx
	movl	%r15d, %esi
	callq	_asn1_get_next
	testq	%rax, %rax
	js	LBB0_17
## %bb.11:
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	cmpq	(%r12), %rdx
	jne	LBB0_13
## %bb.12:
	cmpq	(%r13), %rcx
	jne	LBB0_13
## %bb.14:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	callq	_wpa_hexdump
	cmpq	$0, -56(%rbp)
	je	LBB0_17
## %bb.15:
	movq	16(%r14), %rdi
	callq	_os_free
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdi
	callq	_os_memdup
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	-56(%rbp), %rax
	movq	%rax, 8(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_17
LBB0_13:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ## @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,8,3          ## @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DH: DH parameters did not start with a valid SEQUENCE - found class %d tag 0x%x"

	.comm	_ASN1_TAG_INTEGER,8,3           ## @ASN1_TAG_INTEGER
L_.str.1:                               ## @.str.1
	.asciz	"DH: No INTEGER tag found for p; class=%d tag=0x%x"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.2:                               ## @.str.2
	.asciz	"DH: prime (p)"

L_.str.3:                               ## @.str.3
	.asciz	"DH: No INTEGER tag found for g; class=%d tag=0x%x"

L_.str.4:                               ## @.str.4
	.asciz	"DH: base (g)"

	.no_dead_strip	_tlsv1_set_dhparams_der
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlsv1_set_dhparams_der
_tlsv1_set_dhparams_der:                ; @tlsv1_set_dhparams_der
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x2, sp
	mov	x0, x1
	mov	x1, x20
	bl	_asn1_get_next
	ldr	x2, [sp]
	tbnz	x0, #63, LBB0_6
; %bb.1:
Lloh0:
	adrp	x22, _ASN1_CLASS_UNIVERSAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ASN1_CLASS_UNIVERSAL@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x2, x8
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [sp, #8]
Lloh2:
	adrp	x9, _ASN1_TAG_SEQUENCE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ASN1_TAG_SEQUENCE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	add	x21, x21, x20, lsl #2
	ldr	x0, [sp, #24]
	sub	x8, x21, x0
	lsr	x1, x8, #2
	mov	x2, sp
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	tbnz	x0, #63, LBB0_8
; %bb.4:
	ldr	x8, [x22]
	ldp	x2, x3, [sp]
Lloh5:
	adrp	x20, _ASN1_TAG_INTEGER@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ASN1_TAG_INTEGER@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x2, x8
	ccmp	x3, x9, #0, eq
	b.eq	LBB0_10
; %bb.5:
Lloh7:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x3, [sp, #8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
LBB0_7:
	bl	_wpa_printf
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
Lloh17:
	adrp	x23, _MSG_MSGDUMP@GOTPAGE
Lloh18:
	ldr	x23, [x23, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x23]
	ldp	x3, x2, [sp, #16]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_hexdump
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_8
; %bb.11:
	ldr	x0, [x19, #24]
	bl	_os_free
	ldp	x1, x0, [sp, #16]
	bl	_os_memdup
	str	x0, [x19, #24]
	cbz	x0, LBB0_8
; %bb.12:
	ldp	x8, x9, [sp, #16]
	str	x8, [x19]
	add	x0, x9, x8, lsl #2
	sub	x8, x21, x0
	lsr	x1, x8, #2
	mov	x2, sp
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_asn1_get_next
	tbnz	x0, #63, LBB0_8
; %bb.13:
	ldr	x8, [x22]
	ldp	x2, x3, [sp]
	cmp	x2, x8
	b.ne	LBB0_18
; %bb.14:
	ldr	x8, [x20]
	cmp	x3, x8
	b.ne	LBB0_18
; %bb.15:
	ldr	w0, [x23]
	ldp	x3, x2, [sp, #16]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_hexdump
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_8
; %bb.16:
	ldr	x0, [x19, #16]
	bl	_os_free
	ldp	x1, x0, [sp, #16]
	bl	_os_memdup
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.17:
	mov	w0, #0
	ldr	x8, [sp, #16]
	str	x8, [x19, #8]
	b	LBB0_9
LBB0_18:
Lloh23:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_CLASS_UNIVERSAL,8,3       ; @ASN1_CLASS_UNIVERSAL
	.comm	_ASN1_TAG_SEQUENCE,8,3          ; @ASN1_TAG_SEQUENCE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DH: DH parameters did not start with a valid SEQUENCE - found class %d tag 0x%x"

	.comm	_ASN1_TAG_INTEGER,8,3           ; @ASN1_TAG_INTEGER
l_.str.1:                               ; @.str.1
	.asciz	"DH: No INTEGER tag found for p; class=%d tag=0x%x"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.2:                               ; @.str.2
	.asciz	"DH: prime (p)"

l_.str.3:                               ; @.str.3
	.asciz	"DH: No INTEGER tag found for g; class=%d tag=0x%x"

l_.str.4:                               ; @.str.4
	.asciz	"DH: base (g)"

	.no_dead_strip	_tlsv1_set_dhparams_der
.subsections_via_symbols
