	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psk_server_cb
_psk_server_cb:                         ## @psk_server_cb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	$0, -48(%rbp)
	movq	_s_debug@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_2
## %bb.1:
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.6:
	cmpq	$0, (%r13)
	je	LBB0_8
## %bb.7:
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_8:
	movq	_psk_identity@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_12
LBB0_3:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_printf
	cmpq	$0, (%r13)
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_5:
	movl	(%rbx), %edi
	callq	_BIO_flush
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIO_flush
	jmp	LBB0_19
LBB0_10:
	cmpq	$0, (%r13)
	je	LBB0_12
## %bb.11:
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_12:
	movq	_psk_key@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	-48(%rbp), %rsi
	callq	_OPENSSL_hexstr2buf
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %rbx
	movq	-48(%rbp), %rcx
	movslq	%r15d, %rax
	cmpq	%rax, %rcx
	jle	LBB0_16
## %bb.15:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	jmp	LBB0_19
LBB0_13:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_19
LBB0_16:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rcx, %rdx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	cmpq	$0, (%r13)
	je	LBB0_18
## %bb.17:
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_18:
	movl	-48(%rbp), %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_debug,8,3                    ## @s_debug
	.comm	_bio_s_out,4,2                  ## @bio_s_out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"psk_server_cb\n"

	.comm	_bio_err,4,2                    ## @bio_err
L_.str.1:                               ## @.str.1
	.asciz	"Error: client did not send PSK identity\n"

L_.str.2:                               ## @.str.2
	.asciz	"identity_len=%d identity=%s\n"

	.comm	_psk_identity,4,2               ## @psk_identity
L_.str.3:                               ## @.str.3
	.asciz	"PSK warning: client identity not what we expected (got '%s' expected '%s')\n"

L_.str.4:                               ## @.str.4
	.asciz	"PSK client identity found\n"

	.comm	_psk_key,4,2                    ## @psk_key
L_.str.5:                               ## @.str.5
	.asciz	"Could not convert PSK key '%s' to buffer\n"

L_.str.6:                               ## @.str.6
	.asciz	"psk buffer of callback is too small (%d) for key (%ld)\n"

L_.str.7:                               ## @.str.7
	.asciz	"fetched PSK len=%ld\n"

L_.str.8:                               ## @.str.8
	.asciz	"Error in PSK server callback\n"

	.no_dead_strip	_psk_server_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psk_server_cb
_psk_server_cb:                         ; @psk_server_cb
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	str	xzr, [sp, #24]
Lloh0:
	adrp	x24, _s_debug@GOTPAGE
Lloh1:
	ldr	x24, [x24, _s_debug@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh2:
	adrp	x23, _bio_s_out@GOTPAGE
Lloh3:
	ldr	x23, [x23, _bio_s_out@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
LBB0_2:
	cbz	x21, LBB0_7
; %bb.3:
	ldr	x8, [x24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w22, [x23]
	mov	x0, x21
	bl	_strlen
	stp	x0, x21, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_BIO_printf
LBB0_5:
Lloh8:
	adrp	x22, _psk_identity@GOTPAGE
Lloh9:
	ldr	x22, [x22, _psk_identity@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w0, [x23]
	ldr	w8, [x22]
	stp	x21, x8, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_7:
Lloh12:
	adrp	x19, _bio_err@GOTPAGE
Lloh13:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
	ldr	x8, [x24]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_BIO_printf
LBB0_9:
	ldr	w0, [x19]
	bl	_BIO_flush
	ldr	w0, [x23]
	bl	_BIO_flush
	mov	w0, #0
	b	LBB0_20
LBB0_10:
	ldr	x8, [x24]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	w0, [x23]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_12:
	bl	_BIO_printf
LBB0_13:
Lloh20:
	adrp	x22, _psk_key@GOTPAGE
Lloh21:
	ldr	x22, [x22, _psk_key@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x1, sp, #24
	bl	_OPENSSL_hexstr2buf
	cbz	x0, LBB0_16
; %bb.14:
	mov	x21, x0
	ldr	x2, [sp, #24]
	cmp	x2, w19, sxtw
	b.le	LBB0_17
; %bb.15:
Lloh22:
	adrp	x8, _bio_err@GOTPAGE
Lloh23:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	stp	x19, x2, [sp]
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_BIO_printf
	mov	x0, x21
	bl	_OPENSSL_free
	mov	w0, #0
	b	LBB0_20
LBB0_16:
Lloh27:
	adrp	x8, _bio_err@GOTPAGE
Lloh28:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w8, [x22]
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_BIO_printf
	mov	w0, #0
	b	LBB0_20
LBB0_17:
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	mov	x0, x21
	bl	_OPENSSL_free
	ldr	x8, [x24]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w0, [x23]
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_BIO_printf
LBB0_19:
	ldr	w0, [sp, #24]
LBB0_20:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_s_debug,8,3                    ; @s_debug
	.comm	_bio_s_out,4,2                  ; @bio_s_out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"psk_server_cb\n"

	.comm	_bio_err,4,2                    ; @bio_err
l_.str.1:                               ; @.str.1
	.asciz	"Error: client did not send PSK identity\n"

l_.str.2:                               ; @.str.2
	.asciz	"identity_len=%d identity=%s\n"

	.comm	_psk_identity,4,2               ; @psk_identity
l_.str.3:                               ; @.str.3
	.asciz	"PSK warning: client identity not what we expected (got '%s' expected '%s')\n"

l_.str.4:                               ; @.str.4
	.asciz	"PSK client identity found\n"

	.comm	_psk_key,4,2                    ; @psk_key
l_.str.5:                               ; @.str.5
	.asciz	"Could not convert PSK key '%s' to buffer\n"

l_.str.6:                               ; @.str.6
	.asciz	"psk buffer of callback is too small (%d) for key (%ld)\n"

l_.str.7:                               ; @.str.7
	.asciz	"fetched PSK len=%ld\n"

l_.str.8:                               ; @.str.8
	.asciz	"Error in PSK server callback\n"

	.no_dead_strip	_psk_server_cb
.subsections_via_symbols
