	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psk_client_cb
_psk_client_cb:                         ## @psk_client_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	_c_debug@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	movq	_bio_c_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_2:
	movq	(%r14), %rax
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.5:
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_bio_c_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_7
LBB0_3:
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_bio_c_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_7:
	movq	_psk_identity@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_BIO_snprintf
	movq	(%r14), %rcx
	testl	%eax, %eax
	js	LBB0_19
## %bb.8:
	cmpl	%r13d, %eax
	ja	LBB0_19
## %bb.9:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.10:
	movq	_bio_c_out@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_11:
	movq	_psk_key@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_OPENSSL_hexstr2buf
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rax, %r12
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx
	cmpl	%r15d, (%rax)
	jb	LBB0_15
## %bb.14:
	movl	%r15d, %eax
	cmpq	%rax, %rcx
	jg	LBB0_15
## %bb.16:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rcx, %rdx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_OPENSSL_free
	cmpq	$0, (%r14)
	je	LBB0_18
## %bb.17:
	movq	_bio_c_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), %ebx
	jmp	LBB0_22
LBB0_19:
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.21:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_22
LBB0_12:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_22
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_15:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%r12, %rdi
	callq	_OPENSSL_free
LBB0_22:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_c_debug,8,3                    ## @c_debug
	.comm	_bio_c_out,4,2                  ## @bio_c_out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"psk_client_cb\n"

L_.str.1:                               ## @.str.1
	.asciz	"NULL received PSK identity hint, continuing anyway\n"

L_.str.2:                               ## @.str.2
	.asciz	"Received PSK identity hint '%s'\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.comm	_psk_identity,4,2               ## @psk_identity
L_.str.4:                               ## @.str.4
	.asciz	"created identity '%s' len=%d\n"

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

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

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

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

	.no_dead_strip	_psk_client_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psk_client_cb
_psk_client_cb:                         ; @psk_client_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
Lloh0:
	adrp	x25, _c_debug@GOTPAGE
Lloh1:
	ldr	x25, [x25, _c_debug@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh2:
	adrp	x24, _bio_c_out@GOTPAGE
Lloh3:
	ldr	x24, [x24, _bio_c_out@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x24]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
LBB0_2:
	ldr	x8, [x25]
	cbz	x23, LBB0_5
; %bb.3:
	cbz	x8, LBB0_8
; %bb.4:
	ldr	w0, [x24]
	str	x23, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w0, [x24]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_BIO_printf
LBB0_8:
Lloh10:
	adrp	x8, _psk_identity@GOTPAGE
Lloh11:
	ldr	x8, [x8, _psk_identity@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x2, l_.str.3@PAGE
Lloh14:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_BIO_snprintf
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x25]
	tbnz	w0, #31, LBB0_15
; %bb.9:
	cmp	w0, w22
	b.hi	LBB0_15
; %bb.10:
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w8, [x24]
	stp	x21, x0, [sp]
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	bl	_BIO_printf
LBB0_12:
Lloh17:
	adrp	x22, _psk_key@GOTPAGE
Lloh18:
	ldr	x22, [x22, _psk_key@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x1, sp, #24
	bl	_OPENSSL_hexstr2buf
	cbz	x0, LBB0_17
; %bb.13:
	mov	x21, x0
Lloh19:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	x2, [sp, #24]
	mov	w9, w19
	cmp	w8, w19
	ccmp	x2, x9, #0, hs
	b.le	LBB0_21
; %bb.14:
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
	b	LBB0_19
LBB0_15:
	cbz	x8, LBB0_19
; %bb.16:
Lloh27:
	adrp	x8, _bio_err@GOTPAGE
Lloh28:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.8@PAGE
Lloh31:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh32:
	adrp	x8, _bio_err@GOTPAGE
Lloh33:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w8, [x22]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_18:
	bl	_BIO_printf
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_21:
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	mov	x0, x21
	bl	_OPENSSL_free
	ldr	x8, [x25]
	cbz	x8, LBB0_23
; %bb.22:
	ldr	w0, [x24]
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_BIO_printf
LBB0_23:
	ldr	w0, [sp, #24]
	b	LBB0_20
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_c_debug,8,3                    ; @c_debug
	.comm	_bio_c_out,4,2                  ; @bio_c_out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"psk_client_cb\n"

l_.str.1:                               ; @.str.1
	.asciz	"NULL received PSK identity hint, continuing anyway\n"

l_.str.2:                               ; @.str.2
	.asciz	"Received PSK identity hint '%s'\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.comm	_psk_identity,4,2               ; @psk_identity
l_.str.4:                               ; @.str.4
	.asciz	"created identity '%s' len=%d\n"

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

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

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

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

	.no_dead_strip	_psk_client_cb
.subsections_via_symbols
