	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_check_string
_do_check_string:                       ## @do_check_string
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movl	%esi, %eax
	movl	8(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_17
## %bb.2:
	movq	%r9, %r15
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_11
## %bb.3:
	cmpl	%eax, 12(%rbx)
	jne	LBB0_17
## %bb.4:
	movq	_V_ASN1_IA5STRING@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	%r12d, %r8d
	callq	*%r13
	movl	%eax, %r14d
	jmp	LBB0_8
LBB0_11:
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_ASN1_STRING_to_UTF8
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi
	movl	%eax, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	%r12d, %r8d
	callq	*%r13
	movl	%eax, %r14d
	movq	16(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_16
## %bb.14:
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.15:
	movq	-56(%rbp), %rdi
	movl	%ebx, %esi
	callq	_OPENSSL_strndup
	movq	%rax, (%r15)
LBB0_16:
	movq	-56(%rbp), %rdi
	callq	_OPENSSL_free
	jmp	LBB0_17
LBB0_6:
	cmpl	%r15d, %esi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_17
## %bb.7:
	movq	%r15, %rdx
	callq	_memcmp
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
LBB0_8:
	movq	16(%rbp), %r15
	testq	%r15, %r15
	je	LBB0_17
## %bb.9:
	testl	%r14d, %r14d
	jle	LBB0_17
## %bb.10:
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	callq	_OPENSSL_strndup
	movq	%rax, (%r15)
	jmp	LBB0_17
LBB0_12:
	movl	$-1, %r14d
LBB0_17:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_IA5STRING,4,2           ## @V_ASN1_IA5STRING
	.no_dead_strip	_do_check_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_check_string
_do_check_string:                       ; @do_check_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_15
; %bb.1:
	mov	x8, x1
	ldr	w1, [x21, #8]
	cbz	w1, LBB0_15
; %bb.2:
	mov	x19, x6
	mov	x20, x5
	mov	x22, x4
	mov	x24, x3
	mov	x23, x2
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	w9, [x21, #12]
	cmp	w9, w8
	b.ne	LBB0_15
; %bb.4:
Lloh0:
	adrp	x9, _V_ASN1_IA5STRING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V_ASN1_IA5STRING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_11
; %bb.5:
	mov	x2, x22
	mov	x3, x20
	mov	x4, x24
	blr	x23
	mov	x20, x0
	cbnz	x19, LBB0_13
	b	LBB0_16
LBB0_6:
	add	x0, sp, #8
	mov	x1, x21
	bl	_ASN1_STRING_to_UTF8
	tbnz	w0, #31, LBB0_17
; %bb.7:
	mov	x21, x0
	ldr	x0, [sp, #8]
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, x24
	blr	x23
	mov	x20, x0
	cbz	x19, LBB0_10
; %bb.8:
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.9:
	ldr	x0, [sp, #8]
	mov	x1, x21
	bl	_OPENSSL_strndup
	str	x0, [x19]
LBB0_10:
	ldr	x0, [sp, #8]
	bl	_OPENSSL_free
	b	LBB0_16
LBB0_11:
	cmp	w1, w20
	b.ne	LBB0_15
; %bb.12:
	mov	x1, x22
	mov	x2, x20
	bl	_memcmp
	cmp	w0, #0
	cset	w20, eq
	cbz	x19, LBB0_16
LBB0_13:
	cmp	w20, #1
	b.lt	LBB0_16
; %bb.14:
	ldr	x0, [x21]
	ldr	w1, [x21, #8]
	bl	_OPENSSL_strndup
	str	x0, [x19]
	b	LBB0_16
LBB0_15:
	mov	w20, #0
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
	mov	w20, #-1
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_IA5STRING,4,2           ; @V_ASN1_IA5STRING
	.no_dead_strip	_do_check_string
.subsections_via_symbols
