	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_find_mag_approx
_ar9003_hw_find_mag_approx:             ## @ar9003_hw_find_mag_approx
	.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, %rcx
	negq	%rcx
	cmovsq	%rsi, %rcx
	movq	%rdx, %rax
	negq	%rax
	cmovsq	%rdx, %rax
	cmpq	%rax, %rcx
	movq	%rax, %rdx
	cmovaq	%rcx, %rdx
	cmovbq	%rcx, %rax
	movq	%rdx, %rcx
	shrq	$5, %rcx
	subq	%rcx, %rdx
	movq	%rax, %rcx
	shrq	$3, %rcx
	addq	%rdx, %rcx
	shrq	$2, %rax
	addq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ar9003_hw_find_mag_approx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_find_mag_approx
_ar9003_hw_find_mag_approx:             ; @ar9003_hw_find_mag_approx
	.cfi_startproc
; %bb.0:
	cmp	x1, #0
	cneg	x8, x1, mi
	cmp	x2, #0
	cneg	x9, x2, mi
	cmp	x8, x9
	csel	x10, x8, x9, hi
	csel	x8, x8, x9, lo
	sub	x9, x10, x10, lsr #5
	add	x9, x9, x8, lsr #3
	add	x0, x9, x8, lsr #2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ar9003_hw_find_mag_approx
.subsections_via_symbols
