	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_query_match_eku          ## -- Begin function hx509_query_match_eku
	.p2align	4, 0x90
_hx509_query_match_eku:                 ## @hx509_query_match_eku
	.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
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.4:
	movq	%rsi, %r14
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	callq	_der_free_oid
	movq	8(%r15), %rsi
	jmp	LBB0_6
LBB0_1:
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_der_free_oid
	movq	8(%r15), %rdi
	callq	_free
	movq	$0, 8(%r15)
LBB0_3:
	movq	_HX509_QUERY_MATCH_EKU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
	jmp	LBB0_11
LBB0_8:
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %rsi
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	movq	%r14, %rdi
	callq	_der_copy_oid
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	_free
	movq	$0, 8(%r15)
	jmp	LBB0_12
LBB0_10:
	movq	_HX509_QUERY_MATCH_EKU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_HX509_QUERY_MATCH_EKU,4,2      ## @HX509_QUERY_MATCH_EKU
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_query_match_eku          ; -- Begin function hx509_query_match_eku
	.p2align	2
_hx509_query_match_eku:                 ; @hx509_query_match_eku
	.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	x19, x0
	ldr	x0, [x0, #8]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x20, x1
	cbz	x0, LBB0_6
; %bb.2:
	bl	_der_free_oid
	ldr	x1, [x19, #8]
	b	LBB0_7
LBB0_3:
	cbz	x0, LBB0_5
; %bb.4:
	bl	_der_free_oid
	ldr	x0, [x19, #8]
	bl	_free
	str	xzr, [x19, #8]
LBB0_5:
	mov	w20, #0
Lloh0:
	adrp	x8, _HX509_QUERY_MATCH_EKU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HX509_QUERY_MATCH_EKU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	b	LBB0_10
LBB0_6:
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	mov	x1, x0
	str	x0, [x19, #8]
	cbz	x0, LBB0_12
LBB0_7:
	mov	x0, x20
	bl	_der_copy_oid
	mov	x20, x0
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x0, [x19, #8]
	bl	_free
	str	xzr, [x19, #8]
	b	LBB0_11
LBB0_9:
Lloh3:
	adrp	x8, _HX509_QUERY_MATCH_EKU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HX509_QUERY_MATCH_EKU@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
LBB0_10:
	str	w8, [x19]
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HX509_QUERY_MATCH_EKU,4,2      ; @HX509_QUERY_MATCH_EKU
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
