	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sw_check
_sw_check:                              ## @sw_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edi, %rax
	movabsq	$-9187201950435737472, %rcx     ## imm = 0x8080808080808080
	andq	%rax, %rcx
	movl	$-1, %eax
	cmpq	$128, %rcx
	jne	LBB0_6
## %bb.1:
	testl	%edi, %edi
	je	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	movl	%edi, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %eax
	andl	$15, %eax
	addl	%edx, %eax
	sarl	$4, %ecx
	movzbl	%al, %edx
	cmpl	$15, %edi
	movl	%ecx, %edi
	ja	LBB0_4
## %bb.5:
	andl	$15, %eax
LBB0_6:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sw_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sw_check
_sw_check:                              ; @sw_check
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	and	x8, x8, #0x8080808080808080
	cmp	x8, #128
	b.ne	LBB0_6
; %bb.1:
	cbz	w0, LBB0_5
; %bb.2:
	mov	w8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w9, w0, #0xf
	add	w9, w8, w9
	asr	w10, w0, #4
	and	w8, w9, #0xff
	cmp	w0, #15
	mov	x0, x10
	b.hi	LBB0_3
; %bb.4:
	and	w0, w9, #0xf
LBB0_5:
	ret
LBB0_6:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sw_check
.subsections_via_symbols
