	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ag_out
_ag_out:                                ## @ag_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_AGS_SPLIT_HZ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
LBB0_15:
	popq	%rbp
	retq
LBB0_1:
	movq	16(%rdi), %r10
	testq	%r10, %r10
	je	LBB0_8
## %bb.2:
	movl	4(%r10), %edx
	movl	4(%rdi), %ecx
	addl	%ecx, %ecx
	cmpl	%ecx, %edx
	jne	LBB0_8
## %bb.3:
	movl	8(%r10), %r8d
	movl	8(%rdi), %r9d
	andl	%r9d, %edx
	cmpl	%edx, %r8d
	jne	LBB0_8
## %bb.4:
	cmpl	%r9d, %r8d
	jne	LBB0_5
## %bb.6:
	movq	_AGS_REDUN0@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_AGS_REDUN1@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	orl	%eax, (%r10)
	movl	(%rdi), %eax
LBB0_8:
	movq	_AGS_REDUN0@GOTPCREL(%rip), %rdx
	movq	_AGS_REDUN1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, (%rdx)
	je	LBB0_11
## %bb.9:
	testl	%eax, %ecx
	jne	LBB0_15
## %bb.10:
	movl	4(%rdi), %eax
	movl	%eax, %ecx
	negl	%ecx
	sarl	%ecx
	orl	%ecx, 8(%rdi)
	jmp	LBB0_13
LBB0_11:
	testl	%eax, %ecx
	je	LBB0_14
## %bb.12:
	movl	4(%rdi), %eax
	movl	%eax, %ecx
	negl	%ecx
	sarl	%ecx
LBB0_13:
	orl	%eax, %ecx
	movl	%ecx, 4(%rdi)
LBB0_14:
	popq	%rbp
	jmpq	*%rsi                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AGS_SPLIT_HZ,4,2               ## @AGS_SPLIT_HZ
	.comm	_AGS_REDUN0,4,2                 ## @AGS_REDUN0
	.comm	_AGS_REDUN1,4,2                 ## @AGS_REDUN1
	.no_dead_strip	_ag_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ag_out
_ag_out:                                ; @ag_out
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AGS_SPLIT_HZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AGS_SPLIT_HZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	ret
LBB0_2:
	ldr	x11, [x0, #16]
Lloh3:
	adrp	x10, _AGS_REDUN0@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AGS_REDUN0@GOTPAGEOFF]
Lloh5:
	adrp	x9, _AGS_REDUN1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AGS_REDUN1@GOTPAGEOFF]
	cbz	x11, LBB0_6
; %bb.3:
	ldr	w13, [x11, #4]
	ldr	w12, [x0, #4]
	cmp	w13, w12, lsl #1
	b.ne	LBB0_6
; %bb.4:
	ldr	w12, [x11, #8]
	ldr	w14, [x0, #8]
	and	w13, w14, w13
	cmp	w12, w13
	b.ne	LBB0_6
; %bb.5:
	cmp	w12, w14
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	ldr	w12, [x11]
	orr	w8, w12, w8
	str	w8, [x11]
	ldr	w8, [x0]
LBB0_6:
	ldr	w10, [x10]
	ldr	w9, [x9]
	and	w9, w9, w8
	tst	w10, w8
	b.eq	LBB0_9
; %bb.7:
	cbnz	w9, LBB0_1
; %bb.8:
	ldur	d0, [x0, #4]
	fmov	w8, s0
	neg	w8, w8
	asr	w8, w8, #1
	dup.2s	v1, w8
	orr.8b	v0, v1, v0
	stur	d0, [x0, #4]
	br	x1
LBB0_9:
	cbz	w9, LBB0_11
; %bb.10:
	ldr	w8, [x0, #4]
	neg	w9, w8
	orr	w8, w8, w9, asr #1
	str	w8, [x0, #4]
LBB0_11:
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AGS_SPLIT_HZ,4,2               ; @AGS_SPLIT_HZ
	.comm	_AGS_REDUN0,4,2                 ; @AGS_REDUN0
	.comm	_AGS_REDUN1,4,2                 ; @AGS_REDUN1
	.no_dead_strip	_ag_out
.subsections_via_symbols
