	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dscc4_crc_setting
_dscc4_crc_setting:                     ## @dscc4_crc_setting
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_PARITY_CRC16_PR0_CCITT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	$16, -76(%rbp)
	movq	_PARITY_CRC16_PR1_CCITT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	$0, -64(%rbp)
	movq	_PARITY_CRC32_PR0_CCITT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	$17, -52(%rbp)
	movq	_PARITY_CRC32_PR1_CCITT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	$1, -40(%rbp)
	movl	(%rdi), %esi
	leaq	-80(%rbp), %rdi
	callq	_dscc4_match
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_CrcMask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %eax
	leaq	(%rax,%rax,2), %rax
	movl	-76(%rbp,%rax,4), %esi
	movq	_CCR1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_scc_patchl
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PARITY_CRC16_PR0_CCITT,4,2     ## @PARITY_CRC16_PR0_CCITT
	.comm	_PARITY_CRC16_PR1_CCITT,4,2     ## @PARITY_CRC16_PR1_CCITT
	.comm	_PARITY_CRC32_PR0_CCITT,4,2     ## @PARITY_CRC32_PR0_CCITT
	.comm	_PARITY_CRC32_PR1_CCITT,4,2     ## @PARITY_CRC32_PR1_CCITT
	.comm	_CrcMask,4,2                    ## @CrcMask
	.comm	_CCR1,4,2                       ## @CCR1
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_dscc4_crc_setting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dscc4_crc_setting
lCPI0_0:
	.long	16                              ; 0x10
	.long	0                               ; 0x0
lCPI0_1:
	.long	17                              ; 0x11
	.long	0                               ; 0x0
lCPI0_2:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dscc4_crc_setting:                     ; @dscc4_crc_setting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _PARITY_CRC16_PR0_CCITT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARITY_CRC16_PR0_CCITT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #12]
Lloh8:
	adrp	x8, _PARITY_CRC16_PR1_CCITT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PARITY_CRC16_PR1_CCITT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #20]
Lloh11:
	adrp	x8, _PARITY_CRC32_PR0_CCITT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PARITY_CRC32_PR0_CCITT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #28]
Lloh14:
	adrp	x8, lCPI0_1@PAGE
Lloh15:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [sp, #36]
Lloh16:
	adrp	x8, _PARITY_CRC32_PR1_CCITT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PARITY_CRC32_PR1_CCITT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [sp, #44]
Lloh19:
	adrp	x8, lCPI0_2@PAGE
Lloh20:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	str	d0, [sp, #48]
	ldr	w1, [x0]
	add	x21, sp, #8
	add	x0, sp, #8
	bl	_dscc4_match
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh21:
	adrp	x8, _CrcMask@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CrcMask@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	w9, #12
	umaddl	x9, w0, w9, x21
	ldr	w1, [x9, #4]
Lloh24:
	adrp	x9, _CCR1@GOTPAGE
Lloh25:
	ldr	x9, [x9, _CCR1@GOTPAGEOFF]
Lloh26:
	ldr	w4, [x9]
	mov	x0, x8
	mov	x2, x20
	mov	x3, x19
	bl	_scc_patchl
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh27:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdrp	Lloh14, Lloh16
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_PARITY_CRC16_PR0_CCITT,4,2     ; @PARITY_CRC16_PR0_CCITT
	.comm	_PARITY_CRC16_PR1_CCITT,4,2     ; @PARITY_CRC16_PR1_CCITT
	.comm	_PARITY_CRC32_PR0_CCITT,4,2     ; @PARITY_CRC32_PR0_CCITT
	.comm	_PARITY_CRC32_PR1_CCITT,4,2     ; @PARITY_CRC32_PR1_CCITT
	.comm	_CrcMask,4,2                    ; @CrcMask
	.comm	_CCR1,4,2                       ; @CCR1
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_dscc4_crc_setting
.subsections_via_symbols
