	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aptxhd_pack_codeword
_aptxhd_pack_codeword:                  ## @aptxhd_pack_codeword
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_aptx_quantized_parity
	movq	(%rbx), %rcx
	movl	12(%rcx), %edx
	andl	$30, %edx
	orl	%edx, %eax
	shll	$19, %eax
	movl	4(%rcx), %edx
	movl	8(%rcx), %esi
	andl	$15, %esi
	shll	$15, %esi
	orl	%esi, %eax
	andl	$63, %edx
	shll	$9, %edx
	orl	%edx, %eax
	movl	$511, %edx                      ## imm = 0x1FF
	andl	(%rcx), %edx
	orl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_aptxhd_pack_codeword
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aptxhd_pack_codeword
_aptxhd_pack_codeword:                  ; @aptxhd_pack_codeword
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_aptx_quantized_parity
	ldr	x8, [x19]
	ldp	w10, w9, [x8, #8]
	and	w9, w9, #0x1e
	orr	w9, w9, w0
	ubfiz	w0, w10, #15, #4
	bfi	w0, w9, #19, #13
	ldp	w8, w9, [x8]
	bfi	w0, w9, #9, #6
	bfxil	w0, w8, #0, #9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_aptxhd_pack_codeword
.subsections_via_symbols
