	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TS_ASN1_INTEGER_print_bio      ## -- Begin function TS_ASN1_INTEGER_print_bio
	.p2align	4, 0x90
_TS_ASN1_INTEGER_print_bio:             ## @TS_ASN1_INTEGER_print_bio
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_ASN1_INTEGER_to_BN
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_BN_bn2hex
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_BIO_write
	testq	%rax, %rax
	jle	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_BIO_write
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setg	%bl
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_8
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_OPENSSL_free
LBB0_7:
	movq	%r14, %rdi
	callq	_BN_free
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TS_ASN1_INTEGER_print_bio      ; -- Begin function TS_ASN1_INTEGER_print_bio
	.p2align	2
_TS_ASN1_INTEGER_print_bio:             ; @TS_ASN1_INTEGER_print_bio
	.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, x0
	mov	x0, x1
	mov	x1, #0
	bl	_ASN1_INTEGER_to_BN
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_BN_bn2hex
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #2
	bl	_BIO_write
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_BIO_write
	cmp	x0, #0
	cset	w21, gt
	b	LBB0_7
LBB0_4:
	mov	w21, #-1
	b	LBB0_9
LBB0_5:
	mov	w21, #0
	b	LBB0_8
LBB0_6:
	mov	w21, #0
LBB0_7:
	mov	x0, x20
	bl	_OPENSSL_free
LBB0_8:
	mov	x0, x19
	bl	_BN_free
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x"

.subsections_via_symbols
