	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_output_bignum             ## -- Begin function test_output_bignum
	.p2align	4, 0x90
_test_output_bignum:                    ## @test_output_bignum
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_BN_is_zero
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	%r15, %rdi
	callq	_test_bignum_zero_null
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.3:
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_printf_stderr             ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	callq	_BN_num_bytes
	movq	_BN_OUTPUT_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	cmpq	%rbx, %rax
	jle	LBB0_5
## %bb.10:
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%r15
	pushq	%r14
	callq	_test_fail_bignum_common
	addq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	je	LBB0_11
	jmp	LBB0_12
LBB0_5:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	(%rbx,%rbx), %rax
	incq	%rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_BN_bn2bin
	movq	(%r13), %rcx
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_hex_convert_memory
	movb	(%rbx), %al
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$48, %al
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_6
LBB0_8:
	movq	%r15, %rdi
	callq	_BN_is_negative
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_test_printf_stderr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.9:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
LBB0_11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bignum: '%s' = %s\n"

	.comm	_BN_OUTPUT_SIZE,8,3             ## @BN_OUTPUT_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"bignum: '%s' = %s0x%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"-"

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

L_.str.4:                               ## @.str.4
	.asciz	"bignum"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_output_bignum             ; -- Begin function test_output_bignum
	.p2align	2
_test_output_bignum:                    ; @test_output_bignum
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_BN_is_zero
	cbz	x0, LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_test_bignum_zero_null
                                        ; kill: def $w0 killed $w0 def $x0
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.3:
	sxtw	x2, w0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	sub	sp, x29, #48
	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
	b	_test_printf_stderr
LBB0_4:
	mov	x0, x20
	bl	_BN_num_bytes
Lloh8:
	adrp	x24, _BN_OUTPUT_SIZE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _BN_OUTPUT_SIZE@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.le	LBB0_6
; %bb.5:
	str	x20, [sp, #-16]!
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, #0
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, x19
	mov	x7, x20
	bl	_test_fail_bignum_common
	add	sp, sp, #16
	ldur	x8, [x29, #-56]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_11
	b	LBB0_12
LBB0_6:
	mov	x23, sp
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0xfffffffffffffff0
	sub	x22, x9, x10
	mov	sp, x22
	lsl	x12, x8, #1
	mov	w9, #1
	bfi	x9, x8, #1, #63
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x12, #16
	and	x9, x9, #0xfffffffffffffff0
	sub	x21, x8, x9
	mov	sp, x21
	mov	x0, x20
	mov	x1, x22
	bl	_BN_bn2bin
	mov	x1, x0
	ldr	x3, [x24]
	mov	x0, x22
	mov	x2, x21
	bl	_hex_convert_memory
	ldrb	w8, [x21]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #48
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x21, #1]!
	cbnz	w8, LBB0_7
LBB0_9:
	mov	x0, x20
	bl	_BN_is_negative
Lloh19:
	adrp	x8, l_.str.2@PAGE
Lloh20:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh21:
	adrp	x9, l_.str.3@PAGE
Lloh22:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x2, x9, x8, eq
	str	x21, [sp, #-16]!
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_test_printf_stderr
	add	sp, sp, #16
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	mov	sp, x23
LBB0_11:
	sub	sp, x29, #48
	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
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bignum: '%s' = %s\n"

	.comm	_BN_OUTPUT_SIZE,8,3             ; @BN_OUTPUT_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"bignum: '%s' = %s0x%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"-"

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

l_.str.4:                               ; @.str.4
	.asciz	"bignum"

.subsections_via_symbols
