	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_bfm_to_bfx
_convert_bfm_to_bfx:                    ## @convert_bfm_to_bfx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	movq	24(%rcx), %rdx
	xorl	%eax, %eax
	subq	16(%rcx), %rdx
	jl	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	incq	%rdx
	movq	%rdx, 24(%rcx)
	movl	$2, %esi
	callq	_reset_operand_qualifier
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_reset_operand_qualifier
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_convert_bfm_to_bfx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_bfm_to_bfx
_convert_bfm_to_bfx:                    ; @convert_bfm_to_bfx
	.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
	ldr	x8, [x0]
	ldp	x9, x10, [x8, #16]
	subs	x9, x10, x9
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	add	x9, x9, #1
	str	x9, [x8, #24]
	mov	w1, #2
	bl	_reset_operand_qualifier
	mov	x0, x19
	mov	w1, #3
	bl	_reset_operand_qualifier
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_convert_bfm_to_bfx
.subsections_via_symbols
