	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oslec_hpf_tx                   ## -- Begin function oslec_hpf_tx
	.p2align	4, 0x90
_oslec_hpf_tx:                          ## @oslec_hpf_tx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ECHO_CAN_USE_TX_HPF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	shll	$15, %esi
	movl	%esi, %r8d
	sarl	$4, %r8d
	movl	4(%rdi), %edx
	movq	_DC_LOG2BETA@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %eax
	sarl	%cl, %eax
	subl	%r8d, %esi
	addl	%esi, %edx
	addl	8(%rdi), %eax
	subl	%eax, %edx
	movl	%edx, 4(%rdi)
	sarl	$15, %edx
	cmpl	$32767, %edx                    ## imm = 0x7FFF
	movl	$32767, %ecx                    ## imm = 0x7FFF
	cmovll	%edx, %ecx
	cmpl	$-32766, %ecx                   ## imm = 0x8002
	movl	$-32767, %eax                   ## imm = 0x8001
	cmovgel	%ecx, %eax
	movl	%esi, 8(%rdi)
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECHO_CAN_USE_TX_HPF,4,2        ## @ECHO_CAN_USE_TX_HPF
	.comm	_DC_LOG2BETA,4,2                ## @DC_LOG2BETA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oslec_hpf_tx                   ; -- Begin function oslec_hpf_tx
	.p2align	2
_oslec_hpf_tx:                          ; @oslec_hpf_tx
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ECHO_CAN_USE_TX_HPF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ECHO_CAN_USE_TX_HPF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	lsl	w8, w1, #15
Lloh3:
	adrp	x9, _DC_LOG2BETA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DC_LOG2BETA@GOTPAGEOFF]
	sub	w10, w8, w8, asr #4
Lloh5:
	ldr	w8, [x9]
	ldp	w9, w11, [x0, #4]
	asr	w8, w9, w8
	add	w9, w9, w10
	add	w8, w11, w8
	sub	w9, w9, w8
	asr	w8, w9, #15
	mov	w11, #32767
	cmp	w8, w11
	csel	w8, w8, w11, lt
	mov	w11, #-32767
	cmp	w8, w11
	csel	w8, w8, w11, gt
	stp	w9, w10, [x0, #4]
	mov	x0, x8
	ret
LBB0_2:
	mov	x0, x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ECHO_CAN_USE_TX_HPF,4,2        ; @ECHO_CAN_USE_TX_HPF
	.comm	_DC_LOG2BETA,4,2                ; @DC_LOG2BETA
.subsections_via_symbols
