	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_certificate_status
_get_certificate_status:                ## @get_certificate_status
	.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	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DB_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %r13
	shlq	$3, %r13
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r12
	testl	%r14d, %r14d
	jle	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	___bzero
LBB0_2:
	leaq	2(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_app_malloc
	movq	_DB_serial@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	%rax, (%r15,%rcx,8)
	testb	$1, %r12b
	jne	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_memcpy
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rax
	addq	%r12, %rax
	jmp	LBB0_5
LBB0_3:
	movb	$48, (%rax)
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	incq	%rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_memcpy
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rax
	addq	%r12, %rax
	incq	%rax
LBB0_5:
	movq	_DB_NUMBER@GOTPCREL(%rip), %r14
	movb	$0, (%rax)
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_make_uppercase
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	(%r13), %rsi
	movq	%r15, %rdx
	callq	_TXT_DB_get_by_index
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_DB_type@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movsbl	(%rax), %ecx
	movq	_DB_TYPE_VAL@GOTPCREL(%rip), %rax
	cmpb	(%rax), %cl
	jne	LBB0_9
## %bb.8:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_15
LBB0_6:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_17:
	movl	$-1, %r12d
	cmpl	$0, (%r14)
	jg	LBB0_19
	jmp	LBB0_21
LBB0_9:
	movq	_DB_TYPE_REV@GOTPCREL(%rip), %rax
	cmpb	(%rax), %cl
	jne	LBB0_11
## %bb.10:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_15
LBB0_11:
	movq	_DB_TYPE_EXP@GOTPCREL(%rip), %rax
	cmpb	(%rax), %cl
	jne	LBB0_13
## %bb.12:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_15
LBB0_13:
	movq	_DB_TYPE_SUSP@GOTPCREL(%rip), %rax
	movq	_bio_err@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movq	(%r13), %rdx
	movq	(%r15,%rdx,8), %rdx
	cmpb	(%rax), %cl
	jne	LBB0_16
## %bb.14:
	leaq	L_.str.5(%rip), %rsi
LBB0_15:
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	$1, %r12d
	cmpl	$0, (%r14)
	jle	LBB0_21
LBB0_19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_OPENSSL_free
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_17
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_NUMBER,4,2                  ## @DB_NUMBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"row serial#"

	.comm	_DB_serial,8,3                  ## @DB_serial
	.comm	_bio_err,4,2                    ## @bio_err
L_.str.1:                               ## @.str.1
	.asciz	"Serial %s not present in db.\n"

	.comm	_DB_type,8,3                    ## @DB_type
	.comm	_DB_TYPE_VAL,1,0                ## @DB_TYPE_VAL
L_.str.2:                               ## @.str.2
	.asciz	"%s=Valid (%c)\n"

	.comm	_DB_TYPE_REV,1,0                ## @DB_TYPE_REV
L_.str.3:                               ## @.str.3
	.asciz	"%s=Revoked (%c)\n"

	.comm	_DB_TYPE_EXP,1,0                ## @DB_TYPE_EXP
L_.str.4:                               ## @.str.4
	.asciz	"%s=Expired (%c)\n"

	.comm	_DB_TYPE_SUSP,1,0               ## @DB_TYPE_SUSP
L_.str.5:                               ## @.str.5
	.asciz	"%s=Suspended (%c)\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s=Unknown (%c).\n"

	.no_dead_strip	_get_certificate_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_certificate_status
_get_certificate_status:                ; @get_certificate_status
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _DB_NUMBER@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DB_NUMBER@GOTPAGEOFF]
	ldr	w25, [x24]
	lsl	x23, x25, #3
	mov	x9, x23
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0xffffffff0
	sub	x19, x8, x9
	mov	sp, x19
	bl	_strlen
	mov	x22, x0
	cmp	w25, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x23
	bl	_bzero
LBB0_2:
	add	x0, x22, #2
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_app_malloc
Lloh9:
	adrp	x23, _DB_serial@GOTPAGE
Lloh10:
	ldr	x23, [x23, _DB_serial@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x0, [x19, x8, lsl #3]
	tbnz	w22, #0, LBB0_4
; %bb.3:
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x23]
	ldr	x8, [x19, x8, lsl #3]
	add	x8, x8, x22
	b	LBB0_5
LBB0_4:
	mov	w8, #48
	strb	w8, [x0]
	ldr	x8, [x23]
	ldr	x8, [x19, x8, lsl #3]
	add	x0, x8, #1
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x23]
	ldr	x8, [x19, x8, lsl #3]
	add	x8, x22, x8
	add	x8, x8, #1
LBB0_5:
	strb	wzr, [x8]
	ldr	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
	bl	_make_uppercase
	ldr	w0, [x20]
	ldr	x1, [x23]
	mov	x2, x19
	bl	_TXT_DB_get_by_index
	cbz	x0, LBB0_8
; %bb.6:
Lloh11:
	adrp	x8, _DB_type@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DB_type@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x0, x8, lsl #3]
	ldrb	w9, [x8]
	sxtb	w8, w9
Lloh14:
	adrp	x10, _DB_TYPE_VAL@GOTPAGE
Lloh15:
	ldr	x10, [x10, _DB_TYPE_VAL@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.7:
Lloh16:
	adrp	x9, _bio_err@GOTPAGE
Lloh17:
	ldr	x9, [x9, _bio_err@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	ldr	x9, [x23]
	ldr	x2, [x19, x9, lsl #3]
	str	x8, [sp, #-16]!
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_8:
Lloh21:
	adrp	x8, _bio_err@GOTPAGE
Lloh22:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	x8, [x23]
	ldr	x2, [x19, x8, lsl #3]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
LBB0_9:
	mov	w20, #-1
	b	LBB0_17
LBB0_10:
Lloh26:
	adrp	x9, _DB_TYPE_REV@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DB_TYPE_REV@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w8, uxtb
	b.ne	LBB0_12
; %bb.11:
Lloh28:
	adrp	x9, _bio_err@GOTPAGE
Lloh29:
	ldr	x9, [x9, _bio_err@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x9]
	ldr	x9, [x23]
	ldr	x2, [x19, x9, lsl #3]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #-16]!
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_12:
Lloh33:
	adrp	x9, _DB_TYPE_EXP@GOTPAGE
Lloh34:
	ldr	x9, [x9, _DB_TYPE_EXP@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w8, uxtb
	b.ne	LBB0_14
; %bb.13:
Lloh35:
	adrp	x9, _bio_err@GOTPAGE
Lloh36:
	ldr	x9, [x9, _bio_err@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x9]
	ldr	x9, [x23]
	ldr	x2, [x19, x9, lsl #3]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #-16]!
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_14:
Lloh40:
	adrp	x9, _DB_TYPE_SUSP@GOTPAGE
Lloh41:
	ldr	x9, [x9, _DB_TYPE_SUSP@GOTPAGEOFF]
Lloh42:
	adrp	x10, _bio_err@GOTPAGE
Lloh43:
	ldr	x10, [x10, _bio_err@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh44:
	ldr	w0, [x10]
	ldr	x10, [x23]
	ldr	x2, [x19, x10, lsl #3]
	cmp	w9, w8, uxtb
	b.ne	LBB0_22
; %bb.15:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #-16]!
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_16:
	bl	_BIO_printf
	add	sp, sp, #16
	mov	w20, #1
LBB0_17:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:
	mov	x21, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x21, lsl #3]
	bl	_OPENSSL_free
	add	x21, x21, #1
	ldrsw	x8, [x24]
	cmp	x21, x8
	b.lt	LBB0_19
LBB0_20:
	ldur	x8, [x29, #-72]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.21:
	mov	x0, x20
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_22:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #-16]!
Lloh50:
	adrp	x1, l_.str.6@PAGE
Lloh51:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_BIO_printf
	add	sp, sp, #16
	b	LBB0_9
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_NUMBER,4,2                  ; @DB_NUMBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"row serial#"

	.comm	_DB_serial,8,3                  ; @DB_serial
	.comm	_bio_err,4,2                    ; @bio_err
l_.str.1:                               ; @.str.1
	.asciz	"Serial %s not present in db.\n"

	.comm	_DB_type,8,3                    ; @DB_type
	.comm	_DB_TYPE_VAL,1,0                ; @DB_TYPE_VAL
l_.str.2:                               ; @.str.2
	.asciz	"%s=Valid (%c)\n"

	.comm	_DB_TYPE_REV,1,0                ; @DB_TYPE_REV
l_.str.3:                               ; @.str.3
	.asciz	"%s=Revoked (%c)\n"

	.comm	_DB_TYPE_EXP,1,0                ; @DB_TYPE_EXP
l_.str.4:                               ; @.str.4
	.asciz	"%s=Expired (%c)\n"

	.comm	_DB_TYPE_SUSP,1,0               ; @DB_TYPE_SUSP
l_.str.5:                               ; @.str.5
	.asciz	"%s=Suspended (%c)\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s=Unknown (%c).\n"

	.no_dead_strip	_get_certificate_status
.subsections_via_symbols
