	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_offloaded_reg
_add_offloaded_reg:                     ## @add_offloaded_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r8
	movl	(%r8), %ecx
	movl	%ecx, %edx
	shrl	$4, %edx
	andl	$7, %edx
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movl	4(%r8), %r9d
	andl	$3, %ecx
	shlq	$15, %rcx
	movzbl	%r9b, %r9d
	shlq	$7, %r9
	orq	%rcx, %r9
	movl	8(%r8), %r8d
	shrl	%r8d
	andl	$127, %r8d
	orq	%r9, %r8
	movq	8(%rdi), %rcx
	addq	$32, %rcx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	%rax
	addq	$40, %rcx
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, -32(%rcx)
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdx, -24(%rcx)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, -16(%rcx)
	jne	LBB0_8
## %bb.5:
	cmpl	$0, -8(%rcx)
	jne	LBB0_7
## %bb.6:
	movl	$1, -8(%rcx)
LBB0_7:
	movq	8(%rsi), %rax
	movl	8(%rax), %edx
	movl	%edx, (%rcx)
	movl	12(%rax), %eax
	movl	%eax, -4(%rcx)
	popq	%rbp
	retq
LBB0_9:
	popq	%rbp
	jmp	___add_offloaded_reg_to_fifo    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_offloaded_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_offloaded_reg
_add_offloaded_reg:                     ; @add_offloaded_reg
	.cfi_startproc
; %bb.0:
	ldr	x9, [x1]
	ldr	w10, [x9]
	ubfx	x2, x10, #4, #3
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	lsl	w10, w10, #15
	and	x10, x10, #0x18000
	ldp	w11, w9, [x9, #4]
	lsl	w11, w11, #7
	bfxil	x10, x11, #0, #15
	bfxil	x10, x9, #1, #7
	ldr	x9, [x0, #8]
	add	x9, x9, #32
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #40
	sub	x8, x8, #1
	cbz	x8, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x9, #-32]
	cmp	w11, #1
	b.ne	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x11, [x9, #-24]
	cmp	x11, x2
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x11, [x9, #-16]
	cmp	x11, x10
	b.ne	LBB0_2
; %bb.6:
	ldur	w8, [x9, #-8]
	cbnz	w8, LBB0_8
; %bb.7:
	mov	w8, #1
	stur	w8, [x9, #-8]
LBB0_8:
	ldr	x8, [x1, #8]
	ldr	w10, [x8, #8]
	str	w10, [x9]
	ldr	w8, [x8, #12]
	stur	w8, [x9, #-4]
	ret
LBB0_9:
	b	___add_offloaded_reg_to_fifo
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_offloaded_reg
.subsections_via_symbols
