	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reparent_op_arg                ## -- Begin function reparent_op_arg
	.p2align	4, 0x90
_reparent_op_arg:                       ## @reparent_op_arg
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_FILTER_ARG_OP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	je	LBB0_3
## %bb.1:
	cmpq	%rax, (%r14)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_3:
	movq	8(%r15), %rdi
	movq	16(%r15), %rax
	cmpq	%r14, %rax
	je	LBB0_6
## %bb.4:
	cmpq	%r14, %rdi
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_die
                                        ## implicit-def: $rdi
                                        ## implicit-def: $r12
	jmp	LBB0_8
LBB0_6:
	leaq	16(%r15), %r12
	jmp	LBB0_8
LBB0_7:
	leaq	8(%r15), %r12
	movq	%rax, %rdi
LBB0_8:
	movq	$0, (%r12)
	cmpq	%r15, %rbx
	je	LBB0_12
## %bb.9:
	cmpq	%r15, 16(%rbx)
	je	LBB0_13
## %bb.10:
	cmpq	%r15, 8(%rbx)
	je	LBB0_14
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	_die
	jmp	LBB0_16
LBB0_12:
	callq	_free_arg
	movups	(%r14), %xmm0
	movups	%xmm0, (%rbx)
	movq	16(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_13:
	addq	$16, %rbx
	jmp	LBB0_15
LBB0_14:
	addq	$8, %rbx
LBB0_15:
	movq	%rbx, %r12
LBB0_16:
	movq	%r14, (%r12)
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_arg                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FILTER_ARG_OP,8,3              ## @FILTER_ARG_OP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can not reparent other than OP"

L_.str.1:                               ## @.str.1
	.asciz	"Error in reparent op, find other child"

L_.str.2:                               ## @.str.2
	.asciz	"Error in reparent op"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reparent_op_arg                ; -- Begin function reparent_op_arg
	.p2align	2
_reparent_op_arg:                       ; @reparent_op_arg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _FILTER_ARG_OP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILTER_ARG_OP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x19]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	mov	x8, x20
	ldr	x0, [x8, #8]!
	mov	x22, x8
	ldr	x9, [x22, #8]!
	cmp	x9, x19
	b.eq	LBB0_7
; %bb.4:
	cmp	x0, x19
	b.eq	LBB0_6
; %bb.5:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
                                        ; implicit-def: $x0
                                        ; implicit-def: $x22
	b	LBB0_7
LBB0_6:
	mov	x0, x9
	mov	x22, x8
LBB0_7:
	str	xzr, [x22]
	cmp	x21, x20
	b.eq	LBB0_11
; %bb.8:
	mov	x8, x21
	ldr	x9, [x8, #16]!
	cmp	x9, x20
	b.eq	LBB0_12
; %bb.9:
	ldr	x8, [x21, #8]!
	cmp	x8, x20
	b.eq	LBB0_13
; %bb.10:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	b	LBB0_14
LBB0_11:
	bl	_free_arg
	ldr	x8, [x19, #16]
	ldr	q0, [x19]
	str	q0, [x21]
	str	x8, [x21, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
LBB0_12:
	mov	x22, x8
	b	LBB0_14
LBB0_13:
	mov	x22, x21
LBB0_14:
	str	x19, [x22]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free_arg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FILTER_ARG_OP,8,3              ; @FILTER_ARG_OP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can not reparent other than OP"

l_.str.1:                               ; @.str.1
	.asciz	"Error in reparent op, find other child"

l_.str.2:                               ; @.str.2
	.asciz	"Error in reparent op"

.subsections_via_symbols
