	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_check_trust               ## -- Begin function X509_check_trust
	.p2align	4, 0x90
_X509_check_trust:                      ## @X509_check_trust
	.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	%edx, %r15d
	movq	%rdi, %r14
	movq	_X509_TRUST_DEFAULT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.3:
	movq	_NID_anyExtendedKeyUsage@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509_TRUST_DO_SS_COMPAT@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_obj_trust                      ## TAILCALL
LBB0_1:
	movl	%esi, %ebx
	movl	%esi, %edi
	callq	_X509_TRUST_get_by_id
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %edi
	callq	_X509_TRUST_get0
	movq	(%rax), %rcx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_4:
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_default_trust                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_TRUST_DEFAULT,4,2         ## @X509_TRUST_DEFAULT
	.comm	_NID_anyExtendedKeyUsage,4,2    ## @NID_anyExtendedKeyUsage
	.comm	_X509_TRUST_DO_SS_COMPAT,4,2    ## @X509_TRUST_DO_SS_COMPAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_check_trust               ; -- Begin function X509_check_trust
	.p2align	2
_X509_check_trust:                      ; @X509_check_trust
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _X509_TRUST_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_TRUST_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _NID_anyExtendedKeyUsage@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NID_anyExtendedKeyUsage@GOTPAGEOFF]
Lloh5:
	adrp	x9, _X509_TRUST_DO_SS_COMPAT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _X509_TRUST_DO_SS_COMPAT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	ldr	w8, [x9]
	orr	w2, w8, w19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_obj_trust
LBB0_2:
	mov	x21, x1
	mov	x0, x1
	bl	_X509_TRUST_get_by_id
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	bl	_X509_TRUST_get0
	ldr	x3, [x0]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_default_trust
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_TRUST_DEFAULT,4,2         ; @X509_TRUST_DEFAULT
	.comm	_NID_anyExtendedKeyUsage,4,2    ; @NID_anyExtendedKeyUsage
	.comm	_X509_TRUST_DO_SS_COMPAT,4,2    ; @X509_TRUST_DO_SS_COMPAT
.subsections_via_symbols
