	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_bn2bin                      ## -- Begin function BN_bn2bin
	.p2align	4, 0x90
_BN_bn2bin:                             ## @BN_bn2bin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_BN_num_bytes
	movl	%eax, %r8d
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%r8d, %edi
	incl	%edi
	movq	_BN_BYTES@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rdi), %eax
	movq	(%r14), %rcx
	cltd
	idivl	(%rsi)
                                        ## kill: def $edx killed $edx def $rdx
	cltq
	movl	(%rcx,%rax,4), %eax
	leal	(,%rdx,8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movb	%al, (%rbx)
	incq	%rbx
	decl	%edi
	cmpl	$1, %edi
	ja	LBB0_2
LBB0_3:
	movl	%r8d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_BYTES,4,2                   ## @BN_BYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_bn2bin                      ; -- Begin function BN_bn2bin
	.p2align	2
_BN_bn2bin:                             ; @BN_bn2bin
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_BN_num_bytes
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	add	w8, w0, #1
	lsl	w9, w0, #3
	sub	w9, w9, #8
Lloh0:
	adrp	x10, _BN_BYTES@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BN_BYTES@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w8, #2
	ldr	x12, [x20]
	ldr	w13, [x10]
	sdiv	w11, w11, w13
	ldr	w12, [x12, w11, sxtw #2]
	mul	w11, w13, w11
	sub	w11, w9, w11, lsl #3
	asr	w11, w12, w11
	strb	w11, [x19], #1
	sub	w8, w8, #1
	sub	w9, w9, #8
	cmp	w8, #1
	b.hi	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_BYTES,4,2                   ; @BN_BYTES
.subsections_via_symbols
