	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sja1105_unpack                 ## -- Begin function sja1105_unpack
	.p2align	4, 0x90
_sja1105_unpack:                        ## @sja1105_unpack
	.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	%ecx, %r14d
	movl	%edx, %r15d
	movq	_UNPACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_QUIRK_LSW32_IS_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	callq	_packing
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_3:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_pr_err
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dump_stack                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UNPACK,4,2                     ## @UNPACK
	.comm	_QUIRK_LSW32_IS_FIRST,4,2       ## @QUIRK_LSW32_IS_FIRST
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Start bit (%d) expected to be larger than end (%d)\n"

	.comm	_ERANGE,4,2                     ## @ERANGE
L_.str.1:                               ## @.str.1
	.asciz	"Field %d-%d too large for 64 bits!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sja1105_unpack                 ; -- Begin function sja1105_unpack
	.p2align	2
_sja1105_unpack:                        ; @sja1105_unpack
	.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, x3
	mov	x20, x2
Lloh0:
	adrp	x8, _UNPACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNPACK@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
Lloh3:
	adrp	x8, _QUIRK_LSW32_IS_FIRST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUIRK_LSW32_IS_FIRST@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	bl	_packing
	mov	x21, x0
	cmp	w0, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_2
; %bb.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
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _ERANGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_7
; %bb.5:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	mov	x1, x20
	mov	x2, x19
	bl	_pr_err
LBB0_7:
	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	_dump_stack
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UNPACK,4,2                     ; @UNPACK
	.comm	_QUIRK_LSW32_IS_FIRST,4,2       ; @QUIRK_LSW32_IS_FIRST
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Start bit (%d) expected to be larger than end (%d)\n"

	.comm	_ERANGE,4,2                     ; @ERANGE
l_.str.1:                               ; @.str.1
	.asciz	"Field %d-%d too large for 64 bits!\n"

.subsections_via_symbols
