	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcp320x_channel_to_tx_data
_mcp320x_channel_to_tx_data:            ## @mcp320x_channel_to_tx_data
	.cfi_startproc
## %bb.0:
	addl	$-128, %edi
	cmpl	$5, %edi
	ja	LBB0_4
## %bb.1:
	movl	%esi, %eax
	movl	$27, %ecx
	btl	%edi, %ecx
	jae	LBB0_2
## %bb.3:
	xorl	%ecx, %ecx
	testl	%edx, %edx
	sete	%cl
	shll	$5, %ecx
	shll	$2, %eax
	orl	%ecx, %eax
	orl	$64, %eax
	retq
LBB0_2:
	xorl	%ecx, %ecx
	testl	%edx, %edx
	sete	%cl
	shll	$3, %ecx
	shll	$2, %eax
	orl	%ecx, %eax
	orl	$16, %eax
	retq
LBB0_4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mcp320x_channel_to_tx_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcp320x_channel_to_tx_data
_mcp320x_channel_to_tx_data:            ; @mcp320x_channel_to_tx_data
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #27
	mov	w10, #64
	mov	w11, #96
	cmp	w2, #0
	csel	w10, w11, w10, eq
	orr	w10, w10, w1, lsl #2
	mov	w11, #16
	mov	w12, #24
	cmp	w2, #0
	csel	w11, w12, w11, eq
	orr	w11, w11, w1, lsl #2
	tst	w8, w9
	csel	w0, w10, w11, ne
	ret
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mcp320x_channel_to_tx_data
.subsections_via_symbols
