	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function can_encode
_can_encode:                            ## @can_encode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	cmpl	$255, %ebx
	ja	LBB0_4
## %bb.3:
	movl	%ebx, %ecx
	jmp	LBB0_35
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DIE
	movl	%ebx, %ecx
	jmp	LBB0_35
LBB0_4:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_6
## %bb.5:
	movl	%ebx, %ecx
	movl	$69376, %eax                    ## imm = 0x10F00
	andl	$3, %ecx
	jne	LBB0_34
LBB0_6:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_8
## %bb.7:
	movl	%ebx, %ecx
	movl	$134656, %eax                   ## imm = 0x20E00
	andl	$3, %ecx
	jne	LBB0_34
LBB0_8:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_10
## %bb.9:
	movl	%ebx, %ecx
	movl	$199936, %eax                   ## imm = 0x30D00
	andl	$3, %ecx
	jne	LBB0_34
LBB0_10:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_12
## %bb.11:
	movl	%ebx, %ecx
	movl	$265216, %eax                   ## imm = 0x40C00
	andl	$3, %ecx
	jne	LBB0_34
LBB0_12:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_14
## %bb.13:
	movl	%ebx, %ecx
	movl	$330496, %eax                   ## imm = 0x50B00
	andl	$3, %ecx
	jne	LBB0_34
LBB0_14:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_16
## %bb.15:
	movl	%ebx, %ecx
	movl	$395776, %eax                   ## imm = 0x60A00
	andl	$3, %ecx
	jne	LBB0_34
LBB0_16:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_18
## %bb.17:
	movl	%ebx, %ecx
	movl	$461056, %eax                   ## imm = 0x70900
	andl	$3, %ecx
	jne	LBB0_34
LBB0_18:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_20
## %bb.19:
	movl	%ebx, %ecx
	movl	$526336, %eax                   ## imm = 0x80800
	andl	$3, %ecx
	jne	LBB0_34
LBB0_20:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_22
## %bb.21:
	movl	%ebx, %ecx
	movl	$591616, %eax                   ## imm = 0x90700
	andl	$3, %ecx
	jne	LBB0_34
LBB0_22:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_24
## %bb.23:
	movl	%ebx, %ecx
	movl	$656896, %eax                   ## imm = 0xA0600
	andl	$3, %ecx
	jne	LBB0_34
LBB0_24:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_26
## %bb.25:
	movl	%ebx, %ecx
	movl	$722176, %eax                   ## imm = 0xB0500
	andl	$3, %ecx
	jne	LBB0_34
LBB0_26:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_28
## %bb.27:
	movl	%ebx, %ecx
	movl	$787456, %eax                   ## imm = 0xC0400
	andl	$3, %ecx
	jne	LBB0_34
LBB0_28:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_30
## %bb.29:
	movl	%ebx, %ecx
	movl	$852736, %eax                   ## imm = 0xD0300
	andl	$3, %ecx
	jne	LBB0_34
LBB0_30:
	roll	$30, %ebx
	cmpl	$255, %ebx
	ja	LBB0_32
## %bb.31:
	movl	%ebx, %ecx
	movl	$918016, %eax                   ## imm = 0xE0200
	andl	$3, %ecx
	jne	LBB0_34
LBB0_32:
	roll	$30, %ebx
	xorl	%ecx, %ecx
	cmpl	$255, %ebx
	ja	LBB0_35
## %bb.33:
	movl	%ebx, %edx
	movl	$983296, %eax                   ## imm = 0xF0100
	andl	$3, %edx
	je	LBB0_35
LBB0_34:
	orl	%ebx, %eax
	movl	%eax, %ecx
LBB0_35:
	movzwl	%cx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can_encode: invalid argument"

	.no_dead_strip	_can_encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function can_encode
_can_encode:                            ; @can_encode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	w0, LBB0_7
; %bb.1:
	cmp	w19, #256
	b.lo	LBB0_9
; %bb.2:
	mov	w8, #4096
	mov	w9, #65280
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ror	w19, w19, #2
	add	w8, w8, w9
	cmp	w8, #256, lsl #12               ; =1048576
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, #255
	b.hi	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w10, w19, #0x3
	cbz	w10, LBB0_3
; %bb.6:
	orr	w19, w8, w19
	b	LBB0_9
LBB0_7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DIE
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	and	w0, w19, #0xffff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can_encode: invalid argument"

	.no_dead_strip	_can_encode
.subsections_via_symbols
