	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_query_match_issuer_serial ## -- Begin function hx509_query_match_issuer_serial
	.p2align	4, 0x90
_hx509_query_match_issuer_serial:       ## @hx509_query_match_issuer_serial
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_der_free_heim_integer
	movq	16(%r15), %rdi
	callq	_free
LBB0_2:
	movl	$4, %edi
	callq	_malloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_der_copy_heim_integer
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	16(%r15), %rdi
	callq	_free
	movq	$0, 16(%r15)
	jmp	LBB0_12
LBB0_6:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_free_Name
	movq	8(%r15), %rdi
	callq	_free
LBB0_8:
	movl	$4, %edi
	callq	_malloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_copy_Name
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	_free
	movq	$0, 8(%r15)
	jmp	LBB0_12
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_HX509_QUERY_MATCH_SERIALNUMBER@GOTPCREL(%rip), %rax
	movq	_HX509_QUERY_MATCH_ISSUER_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HX509_QUERY_MATCH_SERIALNUMBER,4,2 ## @HX509_QUERY_MATCH_SERIALNUMBER
	.comm	_HX509_QUERY_MATCH_ISSUER_NAME,4,2 ## @HX509_QUERY_MATCH_ISSUER_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_query_match_issuer_serial ; -- Begin function hx509_query_match_issuer_serial
	.p2align	2
_hx509_query_match_issuer_serial:       ; @hx509_query_match_issuer_serial
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_der_free_heim_integer
	ldr	x0, [x19, #16]
	bl	_free
LBB0_2:
	mov	w0, #4
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.3:
	mov	x1, x0
	mov	x0, x21
	bl	_der_copy_heim_integer
	cbz	w0, LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	x0, [x19, #16]
	bl	_free
	str	xzr, [x19, #16]
	b	LBB0_11
LBB0_5:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_free_Name
	ldr	x0, [x19, #8]
	bl	_free
LBB0_7:
	mov	w0, #4
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.8:
	mov	x1, x0
	mov	x0, x20
	bl	_copy_Name
	mov	x21, x0
	cbz	w0, LBB0_12
; %bb.9:
	ldr	x0, [x19, #8]
	bl	_free
	str	xzr, [x19, #8]
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_11:
	mov	x0, x21
	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
	ret
LBB0_12:
Lloh3:
	adrp	x8, _HX509_QUERY_MATCH_SERIALNUMBER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HX509_QUERY_MATCH_SERIALNUMBER@GOTPAGEOFF]
Lloh5:
	adrp	x9, _HX509_QUERY_MATCH_ISSUER_NAME@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HX509_QUERY_MATCH_ISSUER_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HX509_QUERY_MATCH_SERIALNUMBER,4,2 ; @HX509_QUERY_MATCH_SERIALNUMBER
	.comm	_HX509_QUERY_MATCH_ISSUER_NAME,4,2 ; @HX509_QUERY_MATCH_ISSUER_NAME
.subsections_via_symbols
