	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_ssl_cert_certificate      ## -- Begin function serf_ssl_cert_certificate
	.p2align	4, 0x90
_serf_ssl_cert_certificate:             ## @serf_ssl_cert_certificate
	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_apr_hash_make
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	movq	%rsp, -328(%rbp)                ## 8-byte Spill
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r15), %r13d
	xorl	%eax, %eax
	callq	_EVP_sha1
	leaq	-316(%rbp), %rcx
	movl	%r13d, %edi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_X509_digest
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rsp, %r13
	movl	(%r14), %eax
	leal	(%rax,%rax,2), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movl	-316(%rbp), %r8d
	testq	%r8, %r8
	je	LBB0_5
## %bb.2:
	leaq	(%r8,%r8,2), %r9
	xorl	%edx, %edx
	leaq	L___const.serf_ssl_cert_certificate.hex(%rip), %r10
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	movq	%rcx, %rax
	shrq	$4, %rax
	movzbl	(%rax,%r10), %eax
	movl	%edx, %edi
	movb	%al, (%rsi,%rdi)
	andl	$15, %ecx
	movzbl	(%rcx,%r10), %eax
	leal	1(%rdx), %ecx
	movb	%al, (%rsi,%rcx)
	leal	2(%rdx), %eax
	movb	$58, (%rsi,%rax)
	addq	$3, %rdx
	incq	%rbx
	cmpq	%rdx, %r9
	jne	LBB0_3
## %bb.4:
	leal	(%r8,%r8,2), %eax
	decl	%eax
	movb	$0, (%rsi,%rax)
	jmp	LBB0_6
LBB0_5:
	movb	$0, (%rsi)
LBB0_6:
	movq	_APR_HASH_KEY_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_apr_pstrdup
	leaq	L_.str(%rip), %rsi
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %edx
	movq	%rax, %rcx
	callq	_apr_hash_set
	movq	%r13, %rsp
LBB0_7:
	xorl	%eax, %eax
	callq	_BIO_s_mem
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	leaq	-304(%rbp), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movl	(%r15), %edi
	callq	_X509_get_notBefore
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ASN1_TIME_print
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	-304(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$255, %edx
	callq	_BIO_read
	movq	_APR_HASH_KEY_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_apr_pstrdup
	leaq	L_.str.1(%rip), %rsi
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_apr_hash_set
LBB0_10:
	leaq	-304(%rbp), %rdi
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	movl	(%r15), %edi
	callq	_X509_get_notAfter
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ASN1_TIME_print
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	-304(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$255, %edx
	callq	_BIO_read
	movq	_APR_HASH_KEY_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_apr_pstrdup
	leaq	L_.str.2(%rip), %rsi
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_apr_hash_set
LBB0_12:
	movq	%rbx, %rdi
	callq	_BIO_free
	movl	(%r15), %esi
	movq	_EscapeNulAndCopy@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-304(%rbp), %rdi
	movq	%r12, %rcx
	callq	_get_subject_alt_names
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	_APR_HASH_KEY_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-304(%rbp), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	callq	_apr_hash_set
LBB0_14:
	movq	-328(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	-312(%rbp), %rax                ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.serf_ssl_cert_certificate.hex
L___const.serf_ssl_cert_certificate.hex:
	.asciz	"0123456789ABCDEF"

L_.str:                                 ## @.str
	.asciz	"sha1"

	.comm	_APR_HASH_KEY_STRING,4,2        ## @APR_HASH_KEY_STRING
L_.str.1:                               ## @.str.1
	.asciz	"notBefore"

L_.str.2:                               ## @.str.2
	.asciz	"notAfter"

	.comm	_EscapeNulAndCopy,4,2           ## @EscapeNulAndCopy
L_.str.3:                               ## @.str.3
	.asciz	"subjectAltName"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_ssl_cert_certificate      ; -- Begin function serf_ssl_cert_certificate
	.p2align	2
_serf_ssl_cert_certificate:             ; @serf_ssl_cert_certificate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #272
	mov	x19, sp
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	x0, x1
	bl	_apr_hash_make
	mov	x20, x0
	mov	x25, sp
Lloh3:
	adrp	x27, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	w24, [x22]
	bl	_EVP_sha1
	mov	x1, x0
	add	x3, x19, #4
	mov	x0, x24
	mov	x2, x23
	bl	_X509_digest
Lloh7:
	adrp	x26, _APR_HASH_KEY_STRING@GOTPAGE
Lloh8:
	ldr	x26, [x26, _APR_HASH_KEY_STRING@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x24, sp
	ldr	w8, [x27]
	add	w8, w8, w8, lsl #1
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x1, x9, x8
	mov	sp, x1
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x9, #0
	add	x10, x8, x8, lsl #1
	mov	w11, #58
Lloh11:
	adrp	x12, l___const.serf_ssl_cert_certificate.hex@PAGE
Lloh12:
	add	x12, x12, l___const.serf_ssl_cert_certificate.hex@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x23], #1
	lsr	x14, x13, #4
	ldrb	w14, [x12, x14]
	strb	w14, [x1, w9, uxtw]
	and	x13, x13, #0xf
	ldrb	w13, [x12, x13]
	add	w14, w9, #1
	strb	w13, [x1, w14, uxtw]
	add	w13, w9, #2
	strb	w11, [x1, w13, uxtw]
	add	x9, x9, #3
	cmp	x10, x9
	b.ne	LBB0_3
; %bb.4:
	add	w8, w8, w8, lsl #1
	sub	w8, w8, #1
	strb	wzr, [x1, w8, uxtw]
	b	LBB0_6
LBB0_5:
	strb	wzr, [x1]
LBB0_6:
	ldr	w23, [x26]
	mov	x0, x21
	bl	_apr_pstrdup
	mov	x3, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_apr_hash_set
	mov	sp, x24
LBB0_7:
	bl	_BIO_s_mem
	bl	_BIO_new
	mov	x23, x0
	cbz	x0, LBB0_12
; %bb.8:
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	w0, [x22]
	bl	_X509_get_notBefore
	mov	x1, x0
	mov	x0, x23
	bl	_ASN1_TIME_print
	cbz	x0, LBB0_10
; %bb.9:
	add	x1, x19, #8
	mov	x0, x23
	mov	w2, #255
	bl	_BIO_read
	ldr	w24, [x26]
	add	x1, x19, #8
	mov	x0, x21
	bl	_apr_pstrdup
	mov	x3, x0
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_apr_hash_set
LBB0_10:
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	ldr	w0, [x22]
	bl	_X509_get_notAfter
	mov	x1, x0
	mov	x0, x23
	bl	_ASN1_TIME_print
	cbz	x0, LBB0_12
; %bb.11:
	add	x1, x19, #8
	mov	x0, x23
	mov	w2, #255
	bl	_BIO_read
	ldr	w24, [x26]
	add	x1, x19, #8
	mov	x0, x21
	bl	_apr_pstrdup
	mov	x3, x0
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_apr_hash_set
LBB0_12:
	mov	x0, x23
	bl	_BIO_free
	ldr	w1, [x22]
Lloh19:
	adrp	x8, _EscapeNulAndCopy@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EscapeNulAndCopy@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x0, x19, #8
	mov	x3, x21
	bl	_get_subject_alt_names
	cbnz	w0, LBB0_14
; %bb.13:
	ldr	w2, [x26]
	ldr	x3, [x19, #8]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_apr_hash_set
LBB0_14:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x20
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.section	__TEXT,__cstring,cstring_literals
l___const.serf_ssl_cert_certificate.hex: ; @__const.serf_ssl_cert_certificate.hex
	.asciz	"0123456789ABCDEF"

l_.str:                                 ; @.str
	.asciz	"sha1"

	.comm	_APR_HASH_KEY_STRING,4,2        ; @APR_HASH_KEY_STRING
l_.str.1:                               ; @.str.1
	.asciz	"notBefore"

l_.str.2:                               ; @.str.2
	.asciz	"notAfter"

	.comm	_EscapeNulAndCopy,4,2           ; @EscapeNulAndCopy
l_.str.3:                               ; @.str.3
	.asciz	"subjectAltName"

.subsections_via_symbols
