	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_bn_print                  ## -- Begin function ASN1_bn_print
	.p2align	4, 0x90
_ASN1_bn_print:                         ## @ASN1_bn_print
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	%r8d, %ebx
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_BN_is_negative
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %r15
	leaq	L_.str(%rip), %r13
	cmoveq	%r15, %r13
	movq	_ASN1_PRINT_MAX_INDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_BIO_indent
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_BN_is_zero
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_6
LBB0_1:
	movl	$1, %ebx
	jmp	LBB0_14
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_7:
	movq	%r14, %rdi
	callq	_BN_num_bytes
	movq	_BN_BYTES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	callq	_BN_num_bytes
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	cmpb	$45, (%r13)
	movb	$0, (%rax)
	movq	%rax, %r13
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %r15
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%rax, %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jle	LBB0_13
## %bb.12:
	leaq	1(%r13), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_BN_bn2bin
	movb	1(%r13), %cl
	movl	%ecx, %edx
	shrb	$7, %dl
	movzbl	%dl, %edx
	addl	%eax, %edx
	testb	%cl, %cl
	movq	%r13, %rsi
	cmovnsq	%rbx, %rsi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	addl	$4, %ecx
	movq	%r12, %rdi
	callq	_ASN1_buf_print
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	callq	_bn_get_words
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_bn_get_words
	movq	(%rax), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	%rbx, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_6:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setg	%bl
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	%rax, %r13
LBB0_13:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_OPENSSL_clear_free
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_ASN1_PRINT_MAX_INDENT,4,2      ## @ASN1_PRINT_MAX_INDENT
L_.str.2:                               ## @.str.2
	.asciz	"%s 0\n"

	.comm	_BN_BYTES,4,2                   ## @BN_BYTES
L_.str.3:                               ## @.str.3
	.asciz	"%s %s%lu (%s0x%lx)\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s%s\n"

L_.str.5:                               ## @.str.5
	.asciz	" (Negative)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_bn_print                  ; -- Begin function ASN1_bn_print
	.p2align	2
_ASN1_bn_print:                         ; @ASN1_bn_print
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x2, LBB0_4
; %bb.1:
	mov	x21, x4
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_BN_is_negative
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x26, l_.str.1@PAGE
Lloh3:
	add	x26, x26, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x25, x26, x8, eq
Lloh4:
	adrp	x8, _ASN1_PRINT_MAX_INDENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ASN1_PRINT_MAX_INDENT@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_BIO_indent
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x22
	bl	_BN_is_zero
	cbz	x0, LBB0_6
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_4:
	mov	w19, #1
	b	LBB0_12
LBB0_5:
	mov	w19, #0
	b	LBB0_12
LBB0_6:
	mov	x0, x22
	bl	_BN_num_bytes
Lloh9:
	adrp	x8, _BN_BYTES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BN_BYTES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_10
; %bb.7:
	mov	x0, x22
	bl	_BN_num_bytes
	add	w23, w0, #1
	mov	x0, x23
	bl	_OPENSSL_malloc
	mov	x24, x0
	cbz	x0, LBB0_13
; %bb.8:
	strb	wzr, [x24]
	ldrb	w8, [x25]
Lloh12:
	adrp	x9, l_.str.5@PAGE
Lloh13:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w8, #45
	csel	x8, x9, x26, eq
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_BIO_printf
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.9:
	add	x1, x24, #1
	mov	x0, x22
	bl	_BN_bn2bin
	ldrsb	w8, [x24, #1]
	and	w9, w8, #0x80
	add	w2, w0, w9, lsr #7
	cmp	w8, #0
	cinc	x1, x24, ge
	add	w3, w21, #4
	mov	x0, x19
	bl	_ASN1_buf_print
	cmp	x0, #0
	cset	w19, ne
	b	LBB0_14
LBB0_10:
	mov	x0, x22
	bl	_bn_get_words
	ldr	x21, [x0]
	mov	x0, x22
	bl	_bn_get_words
	ldr	x8, [x0]
	stp	x25, x8, [sp, #16]
	stp	x25, x21, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_11:
	mov	x0, x19
	mov	x2, x20
	bl	_BIO_printf
	cmp	x0, #0
	cset	w19, gt
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	w19, #0
LBB0_14:
	mov	x0, x24
	mov	x1, x23
	bl	_OPENSSL_clear_free
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_ASN1_PRINT_MAX_INDENT,4,2      ; @ASN1_PRINT_MAX_INDENT
l_.str.2:                               ; @.str.2
	.asciz	"%s 0\n"

	.comm	_BN_BYTES,4,2                   ; @BN_BYTES
l_.str.3:                               ; @.str.3
	.asciz	"%s %s%lu (%s0x%lx)\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s%s\n"

l_.str.5:                               ; @.str.5
	.asciz	" (Negative)"

.subsections_via_symbols
