	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max_abs_value_w16
_max_abs_value_w16:                     ## @max_abs_value_w16
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	testl	%esi, %esi
	jle	LBB0_5
## %bb.2:
	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	%rdi, %r14
	movl	%esi, %r15d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_FFABS
	cmpl	%r12d, %eax
	cmovgl	%eax, %r12d
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
## %bb.4:
	movq	_INT16_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FFMIN                          ## TAILCALL
LBB0_5:
	movl	$-1, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT16_MAX,4,2                  ## @INT16_MAX
	.no_dead_strip	_max_abs_value_w16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max_abs_value_w16
_max_abs_value_w16:                     ; @max_abs_value_w16
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.2:
	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, x0
	mov	w20, #0
	mov	w21, w1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #4
	bl	_FFABS
	cmp	w0, w20
	csel	w20, w0, w20, gt
	subs	x21, x21, #1
	b.ne	LBB0_3
; %bb.4:
Lloh0:
	adrp	x8, _INT16_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT16_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	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	_FFMIN
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT16_MAX,4,2                  ; @INT16_MAX
	.no_dead_strip	_max_abs_value_w16
.subsections_via_symbols
