	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_psk_client_cb_cnt@GOTPCREL(%rip), %r13
	incl	(%r13)
	movl	%r9d, %r15d
	movq	%r8, %r12
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	_pskid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strlen
	incl	%eax
	cmpl	%ebx, %eax
	ja	LBB0_5
## %bb.1:
	cmpl	$2, (%r13)
	jg	LBB0_5
## %bb.2:
	movq	_clientpsk@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SSL_SESSION_get_master_key
	cmpl	%r15d, %eax
	jbe	LBB0_4
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r13), %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_SSL_SESSION_get_master_key
	movl	%eax, %r15d
	movq	_pskid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_strncpy
	movl	%r15d, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_psk_client_cb_cnt,4,2          ## @psk_client_cb_cnt
	.comm	_pskid,4,2                      ## @pskid
	.comm	_clientpsk,8,3                  ## @clientpsk
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x5
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
Lloh0:
	adrp	x24, _psk_client_cb_cnt@GOTPAGE
Lloh1:
	ldr	x24, [x24, _psk_client_cb_cnt@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
Lloh2:
	adrp	x23, _pskid@GOTPAGE
Lloh3:
	ldr	x23, [x23, _pskid@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_strlen
	add	w8, w0, #1
	ldr	w9, [x24]
	cmp	w8, w19
	ccmp	w9, #2, #0, ls
	b.gt	LBB0_3
; %bb.1:
Lloh4:
	adrp	x24, _clientpsk@GOTPAGE
Lloh5:
	ldr	x24, [x24, _clientpsk@GOTPAGEOFF]
	ldr	x0, [x24]
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, #0
	mov	w2, #0
	bl	_SSL_SESSION_get_master_key
	cmp	w0, w21
	b.ls	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x24]
	mov	x1, x22
	mov	x2, x21
	bl	_SSL_SESSION_get_master_key
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x19
	bl	_strncpy
	mov	x0, x21
	b	LBB0_4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_psk_client_cb_cnt,4,2          ; @psk_client_cb_cnt
	.comm	_pskid,4,2                      ; @pskid
	.comm	_clientpsk,8,3                  ; @clientpsk
	.no_dead_strip	_psk_client_cb
.subsections_via_symbols
