	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hx509_create_signature        ## -- Begin function _hx509_create_signature
	.p2align	4, 0x90
__hx509_create_signature:               ## @_hx509_create_signature
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	%rdx, %rdi
	callq	_find_sig_alg
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.3:
	movq	_PROVIDE_CONF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
LBB0_5:
	movq	%r13, (%rsp)
	movl	%r12d, %edi
	movq	%rax, %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	movq	%r15, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	callq	*8(%rax)
	jmp	LBB0_6
LBB0_1:
	movq	_HX509_SIG_ALG_NO_SUPPORTED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movl	(%rbx), %eax
	jmp	LBB0_6
LBB0_4:
	movq	_HX509_SIG_ALG_NO_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movq	_HX509_CRYPTO_SIG_NO_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HX509_SIG_ALG_NO_SUPPORTED,4,2 ## @HX509_SIG_ALG_NO_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"algorithm no supported"

	.comm	_PROVIDE_CONF,4,2               ## @PROVIDE_CONF
L_.str.1:                               ## @.str.1
	.asciz	"algorithm provides no conf"

	.comm	_HX509_CRYPTO_SIG_NO_CONF,4,2   ## @HX509_CRYPTO_SIG_NO_CONF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hx509_create_signature        ; -- Begin function _hx509_create_signature
	.p2align	2
__hx509_create_signature:               ; @_hx509_create_signature
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	mov	x0, x2
	bl	_find_sig_alg
	mov	x1, x0
	cbz	x0, LBB0_4
; %bb.1:
	cbz	w24, LBB0_3
; %bb.2:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _PROVIDE_CONF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PROVIDE_CONF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_3:
	ldr	x7, [x1, #8]
	mov	x0, x19
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x7
LBB0_4:
Lloh3:
	adrp	x20, _HX509_SIG_ALG_NO_SUPPORTED@GOTPAGE
Lloh4:
	ldr	x20, [x20, _HX509_SIG_ALG_NO_SUPPORTED@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hx509_set_error_string
	ldr	w0, [x20]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _HX509_SIG_ALG_NO_SUPPORTED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HX509_SIG_ALG_NO_SUPPORTED@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_hx509_set_error_string
Lloh12:
	adrp	x8, _HX509_CRYPTO_SIG_NO_CONF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HX509_CRYPTO_SIG_NO_CONF@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HX509_SIG_ALG_NO_SUPPORTED,4,2 ; @HX509_SIG_ALG_NO_SUPPORTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"algorithm no supported"

	.comm	_PROVIDE_CONF,4,2               ; @PROVIDE_CONF
l_.str.1:                               ; @.str.1
	.asciz	"algorithm provides no conf"

	.comm	_HX509_CRYPTO_SIG_NO_CONF,4,2   ; @HX509_CRYPTO_SIG_NO_CONF
.subsections_via_symbols
