	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function openssl_cert_tod
_openssl_cert_tod:                      ## @openssl_cert_tod
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NID_certificate_policies@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_X509_get_ext_d2i
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_sk_POLICYINFO_num
	testq	%rax, %rax
	jle	LBB0_8
## %bb.2:
	xorl	%r14d, %r14d
	leaq	-160(%rbp), %r15
	leaq	L_.str.1(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %r14d
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%rbx, %rdi
	callq	_sk_POLICYINFO_num
	cmpq	%rax, %r12
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_sk_POLICYINFO_value
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$100, %esi
	xorl	%ecx, %ecx
	callq	_OBJ_obj2txt
	cmpl	$99, %eax
	ja	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_printf
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_os_strcmp
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %ecx
	jmp	LBB0_6
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_certificate_policies,4,2   ## @NID_certificate_policies
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenSSL: Certificate Policy %s"

L_.str.1:                               ## @.str.1
	.asciz	"1.3.6.1.4.1.40808.1.3.1"

	.no_dead_strip	_openssl_cert_tod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function openssl_cert_tod
_openssl_cert_tod:                      ; @openssl_cert_tod
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _NID_certificate_policies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NID_certificate_policies@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, #0
	mov	x3, #0
	bl	_X509_get_ext_d2i
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	bl	_sk_POLICYINFO_num
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w19, #0
	mov	x21, #0
Lloh6:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	mov	x0, x20
	bl	_sk_POLICYINFO_num
	cmp	x21, x0
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_sk_POLICYINFO_value
	ldr	w2, [x0]
	add	x0, sp, #4
	mov	w1, #100
	mov	w3, #0
	bl	_OBJ_obj2txt
	cmp	w0, #99
	b.hi	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24]
	add	x2, sp, #4
	mov	x1, x22
	bl	_wpa_printf
	add	x0, sp, #4
	mov	x1, x23
	bl	_os_strcmp
	cmp	x0, #0
	csinc	w19, w19, wzr, ne
	b	LBB0_3
LBB0_6:
	mov	w19, #0
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_certificate_policies,4,2   ; @NID_certificate_policies
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenSSL: Certificate Policy %s"

l_.str.1:                               ; @.str.1
	.asciz	"1.3.6.1.4.1.40808.1.3.1"

	.no_dead_strip	_openssl_cert_tod
.subsections_via_symbols
