	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_dane_issuer
_check_dane_issuer:                     ## @check_dane_issuer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	callq	_DANETLS_HAS_TA
	movq	_X509_TRUST_UNTRUSTED@GOTPCREL(%rip), %r15
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.1:
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	4(%r14), %edi
	movl	%ebx, %esi
	callq	_sk_X509_value
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_dane_match
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	je	LBB0_7
## %bb.6:
	decl	%ebx
	movl	%ebx, (%r14)
	movq	_X509_TRUST_TRUSTED@GOTPCREL(%rip), %r15
	jmp	LBB0_7
LBB0_4:
	movq	_X509_TRUST_REJECTED@GOTPCREL(%rip), %r15
LBB0_7:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_TRUST_UNTRUSTED,4,2       ## @X509_TRUST_UNTRUSTED
	.comm	_X509_TRUST_REJECTED,4,2        ## @X509_TRUST_REJECTED
	.comm	_X509_TRUST_TRUSTED,4,2         ## @X509_TRUST_TRUSTED
	.no_dead_strip	_check_dane_issuer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_dane_issuer
_check_dane_issuer:                     ; @check_dane_issuer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_DANETLS_HAS_TA
Lloh0:
	adrp	x8, _X509_TRUST_UNTRUSTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_TRUST_UNTRUSTED@GOTPAGEOFF]
	cbz	w20, LBB0_8
; %bb.1:
	cbz	w0, LBB0_8
; %bb.2:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_sk_X509_value
	cbz	x0, LBB0_6
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_dane_match
	tbnz	w0, #31, LBB0_7
; %bb.4:
	cbz	w0, LBB0_6
; %bb.5:
	sub	w8, w20, #1
	str	w8, [x19]
Lloh2:
	adrp	x8, _X509_TRUST_TRUSTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _X509_TRUST_TRUSTED@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x8, _X509_TRUST_UNTRUSTED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _X509_TRUST_UNTRUSTED@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _X509_TRUST_REJECTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X509_TRUST_REJECTED@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_TRUST_UNTRUSTED,4,2       ; @X509_TRUST_UNTRUSTED
	.comm	_X509_TRUST_REJECTED,4,2        ; @X509_TRUST_REJECTED
	.comm	_X509_TRUST_TRUSTED,4,2         ; @X509_TRUST_TRUSTED
	.no_dead_strip	_check_dane_issuer
.subsections_via_symbols
