	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpackB_writetrunc            ## -- Begin function oggpackB_writetrunc
	.p2align	4, 0x90
_oggpackB_writetrunc:                   ## @oggpackB_writetrunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rax
	sarq	$3, %rax
	andl	$7, %esi
	movq	24(%rdi), %rcx
	leaq	(%rcx,%rax,4), %rdx
	movq	%rdx, 16(%rdi)
	movq	%rsi, (%rdi)
	movq	%rax, 8(%rdi)
	movq	_mask8B@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rsi,4), %edx
	andl	%edx, (%rcx,%rax,4)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mask8B,8,3                     ## @mask8B
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oggpackB_writetrunc            ; -- Begin function oggpackB_writetrunc
	.p2align	2
_oggpackB_writetrunc:                   ; @oggpackB_writetrunc
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	asr	x8, x1, #3
	and	x9, x1, #0x7
	ldr	x10, [x0, #24]
	lsl	x11, x8, #2
	add	x12, x10, x11
	str	x12, [x0, #16]
Lloh0:
	adrp	x12, _mask8B@GOTPAGE
Lloh1:
	ldr	x12, [x12, _mask8B@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	ldr	w12, [x12, x9, lsl #2]
	stp	x9, x8, [x0]
	ldr	w8, [x10, x11]
	and	w8, w8, w12
	str	w8, [x10, x11]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mask8B,8,3                     ; @mask8B
.subsections_via_symbols
