	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_channel_from_ecc_syndrome
_get_channel_from_ecc_syndrome:         ## @get_channel_from_ecc_syndrome
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %r15
	movl	(%r15), %esi
	cmpl	$8, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$4, %esi
	jne	LBB0_5
## %bb.3:
	movq	_x4_vectors@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_x8_vectors@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	(%r15), %ecx
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_decode_syndrome
	movl	(%r15), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_map_err_sym_to_channel         ## TAILCALL
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_amd64_warn
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_x8_vectors,4,2                 ## @x8_vectors
	.comm	_x4_vectors,4,2                 ## @x4_vectors
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Illegal syndrome type: %u\n"

	.no_dead_strip	_get_channel_from_ecc_syndrome
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_channel_from_ecc_syndrome
_get_channel_from_ecc_syndrome:         ; @get_channel_from_ecc_syndrome
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0]
	ldr	w1, [x21]
	cmp	w1, #8
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #4
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _x4_vectors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _x4_vectors@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _x8_vectors@GOTPAGE
Lloh3:
	ldr	x8, [x8, _x8_vectors@GOTPAGEOFF]
LBB0_4:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_decode_syndrome
	ldr	w1, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_map_err_sym_to_channel
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_amd64_warn
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_x8_vectors,4,2                 ; @x8_vectors
	.comm	_x4_vectors,4,2                 ; @x4_vectors
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Illegal syndrome type: %u\n"

	.no_dead_strip	_get_channel_from_ecc_syndrome
.subsections_via_symbols
