	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_magnitude_modifier
_make_magnitude_modifier:               ## @make_magnitude_modifier
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_1
LBB0_3:
	movl	(%r15), %edi
	callq	_LO
	movb	%al, -35(%rbp)
	movl	(%r15), %edi
	callq	_HI
	movb	%al, -34(%rbp)
	movl	%r14d, %edi
	callq	_HIFIX80
	movb	%al, -33(%rbp)
	movq	_FF_CMD_MAGNITUDE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-35(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_iforce_send_packet
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_iforce_dump_packet
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	%rbx, %rdi
	callq	_mutex_lock
	leaq	4(%rbx), %rdi
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	$2, %r9d
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_allocate_resource
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_mutex_unlock
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_FF_CMD_MAGNITUDE,4,2           ## @FF_CMD_MAGNITUDE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"magnitude"

	.no_dead_strip	_make_magnitude_modifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_magnitude_modifier
_make_magnitude_modifier:               ; @make_magnitude_modifier
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	cbz	w2, LBB0_2
LBB0_1:
	ldr	w0, [x21]
	bl	_LO
	strb	w0, [sp, #13]
	ldr	w0, [x21]
	bl	_HI
	strb	w0, [sp, #14]
	mov	x0, x20
	bl	_HIFIX80
	strb	w0, [sp, #15]
Lloh0:
	adrp	x20, _FF_CMD_MAGNITUDE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FF_CMD_MAGNITUDE@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #13
	mov	x0, x19
	bl	_iforce_send_packet
	ldr	w2, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #13
	mov	x0, x19
	bl	_iforce_dump_packet
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_mutex_lock
	ldr	w3, [x19, #8]
	mov	x0, x19
	ldr	w4, [x0, #4]!
	mov	x1, x21
	mov	w2, #2
	mov	w5, #2
	mov	x6, #0
	mov	x7, #0
	bl	_allocate_resource
	mov	x22, x0
	mov	x0, x19
	bl	_mutex_unlock
	cbz	x22, LBB0_1
; %bb.3:
Lloh4:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_FF_CMD_MAGNITUDE,4,2           ; @FF_CMD_MAGNITUDE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"magnitude"

	.no_dead_strip	_make_magnitude_modifier
.subsections_via_symbols
