	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function read_cross_byte
LCPI0_0:
	.long	128                             ## 0x80
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_read_cross_byte:                       ## @read_cross_byte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_spin_lock_irqsave
	movq	_CD186x_CAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r13
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sx_in_off
	xorl	%ecx, %ecx
	testl	%r15d, %eax
	movl	%r15d, %r12d
	setne	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%ebx, %r15d
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	callq	_sx_in_off
	xorl	%ebx, %ebx
	testl	%r12d, %eax
	movl	%r12d, %r13d
	setne	%bl
	addl	%ebx, %ebx
	movq	_CD186x_CAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_sx_in_off
	xorl	%r12d, %r12d
	testl	%r13d, %eax
	movl	%r13d, %r15d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	setne	%r12b
	shll	$2, %r12d
	movq	_CD186x_CAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_sx_in_off
	xorl	%r13d, %r13d
	testl	%r15d, %eax
	setne	%r13b
	shll	$3, %r13d
	orl	%r12d, %r13d
	orl	%ebx, %r13d
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movq	_CD186x_CAR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_sx_in_off
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %esi
	movq	%r15, %r12
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sx_in_off
	movl	%eax, %r15d
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sx_in_off
	movl	%eax, %r12d
	movq	_CD186x_CAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$7, %edx
	callq	_sx_out_off
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sx_in_off
	movd	%eax, %xmm0
	pinsrd	$1, %r12d, %xmm0
	pinsrd	$2, %r15d, %xmm0
	pinsrd	$3, -44(%rbp), %xmm0            ## 4-byte Folded Reload
	movd	-52(%rbp), %xmm1                ## 4-byte Folded Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	pand	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pandn	LCPI0_0(%rip), %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CD186x_CAR,4,2                 ## @CD186x_CAR
	.no_dead_strip	_read_cross_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_cross_byte
_read_cross_byte:                       ; @read_cross_byte
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x22, _CD186x_CAR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CD186x_CAR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w23, ne
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #1
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w8, ne
	bfi	w23, w8, #1, #1
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #2
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w8, ne
	bfi	w23, w8, #2, #1
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #3
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w8, ne
	bfi	w23, w8, #3, #1
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #4
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w8, ne
	bfi	w23, w8, #4, #1
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #5
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w8, ne
	bfi	w23, w8, #5, #1
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #6
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w8, ne
	orr	w23, w23, w8, lsl #6
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #7
	bl	_sx_out_off
	mov	x0, x19
	mov	x1, x21
	bl	_sx_in_off
	tst	w0, w20
	cset	w8, ne
	orr	w20, w23, w8, lsl #7
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CD186x_CAR,4,2                 ; @CD186x_CAR
	.no_dead_strip	_read_cross_byte
.subsections_via_symbols
