	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function topower
_topower:                               ## @topower
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	js	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	cmpl	$2, %edi
	jb	LBB0_33
## %bb.3:
	movl	$1, %eax
	je	LBB0_33
## %bb.4:
	movl	$2, %eax
	cmpl	$5, %edi
	jb	LBB0_33
## %bb.5:
	movl	$3, %eax
	cmpl	$9, %edi
	jb	LBB0_33
## %bb.6:
	movl	$4, %eax
	cmpl	$17, %edi
	jb	LBB0_33
## %bb.7:
	movl	$5, %eax
	cmpl	$33, %edi
	jb	LBB0_33
## %bb.8:
	movl	$6, %eax
	cmpl	$65, %edi
	jb	LBB0_33
## %bb.9:
	movl	$7, %eax
	cmpl	$129, %edi
	jb	LBB0_33
## %bb.10:
	movl	$8, %eax
	cmpl	$257, %edi                      ## imm = 0x101
	jb	LBB0_33
## %bb.11:
	movl	$9, %eax
	cmpl	$513, %edi                      ## imm = 0x201
	jb	LBB0_33
## %bb.12:
	movl	$10, %eax
	cmpl	$1025, %edi                     ## imm = 0x401
	jb	LBB0_33
## %bb.13:
	movl	$11, %eax
	cmpl	$2049, %edi                     ## imm = 0x801
	jb	LBB0_33
## %bb.14:
	movl	$12, %eax
	cmpl	$4097, %edi                     ## imm = 0x1001
	jb	LBB0_33
## %bb.15:
	movl	$13, %eax
	cmpl	$8193, %edi                     ## imm = 0x2001
	jb	LBB0_33
## %bb.16:
	movl	$14, %eax
	cmpl	$16385, %edi                    ## imm = 0x4001
	jb	LBB0_33
## %bb.17:
	movl	$15, %eax
	cmpl	$32769, %edi                    ## imm = 0x8001
	jb	LBB0_33
## %bb.18:
	movl	$16, %eax
	cmpl	$65537, %edi                    ## imm = 0x10001
	jb	LBB0_33
## %bb.19:
	movl	$17, %eax
	cmpl	$131073, %edi                   ## imm = 0x20001
	jb	LBB0_33
## %bb.20:
	movl	$18, %eax
	cmpl	$262145, %edi                   ## imm = 0x40001
	jb	LBB0_33
## %bb.21:
	movl	$19, %eax
	cmpl	$524289, %edi                   ## imm = 0x80001
	jb	LBB0_33
## %bb.22:
	movl	$20, %eax
	cmpl	$1048577, %edi                  ## imm = 0x100001
	jb	LBB0_33
## %bb.23:
	movl	$21, %eax
	cmpl	$2097153, %edi                  ## imm = 0x200001
	jb	LBB0_33
## %bb.24:
	movl	$22, %eax
	cmpl	$4194305, %edi                  ## imm = 0x400001
	jb	LBB0_33
## %bb.25:
	movl	$23, %eax
	cmpl	$8388609, %edi                  ## imm = 0x800001
	jb	LBB0_33
## %bb.26:
	movl	$24, %eax
	cmpl	$16777217, %edi                 ## imm = 0x1000001
	jb	LBB0_33
## %bb.27:
	movl	$25, %eax
	cmpl	$33554433, %edi                 ## imm = 0x2000001
	jb	LBB0_33
## %bb.28:
	movl	$26, %eax
	cmpl	$67108865, %edi                 ## imm = 0x4000001
	jb	LBB0_33
## %bb.29:
	movl	$27, %eax
	cmpl	$134217729, %edi                ## imm = 0x8000001
	jb	LBB0_33
## %bb.30:
	movl	$28, %eax
	cmpl	$268435457, %edi                ## imm = 0x10000001
	jb	LBB0_33
## %bb.31:
	movl	$29, %eax
	cmpl	$536870913, %edi                ## imm = 0x20000001
	jb	LBB0_33
## %bb.32:
	xorl	%eax, %eax
	cmpl	$1073741825, %edi               ## imm = 0x40000001
	setae	%al
	orl	$30, %eax
LBB0_33:
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_topower
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function topower
_topower:                               ; @topower
	.cfi_startproc
; %bb.0:
	tbnz	w0, #31, LBB0_4
; %bb.1:
	cmp	w0, #2
	b.lo	LBB0_5
; %bb.2:
	b.ne	LBB0_6
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
	mov	w0, #-1
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	cmp	w0, #5
	b.lo	LBB0_35
; %bb.7:
	cmp	w0, #9
	b.lo	LBB0_36
; %bb.8:
	cmp	w0, #17
	b.lo	LBB0_37
; %bb.9:
	cmp	w0, #33
	b.lo	LBB0_38
; %bb.10:
	cmp	w0, #65
	b.lo	LBB0_39
; %bb.11:
	cmp	w0, #129
	b.lo	LBB0_40
; %bb.12:
	cmp	w0, #257
	b.lo	LBB0_41
; %bb.13:
	cmp	w0, #513
	b.lo	LBB0_42
; %bb.14:
	cmp	w0, #1025
	b.lo	LBB0_43
; %bb.15:
	cmp	w0, #2049
	b.lo	LBB0_44
; %bb.16:
	cmp	w0, #1, lsl #12                 ; =4096
	b.ls	LBB0_45
; %bb.17:
	cmp	w0, #2, lsl #12                 ; =8192
	b.ls	LBB0_46
; %bb.18:
	cmp	w0, #4, lsl #12                 ; =16384
	b.ls	LBB0_47
; %bb.19:
	cmp	w0, #8, lsl #12                 ; =32768
	b.ls	LBB0_48
; %bb.20:
	cmp	w0, #16, lsl #12                ; =65536
	b.ls	LBB0_49
; %bb.21:
	cmp	w0, #32, lsl #12                ; =131072
	b.ls	LBB0_50
; %bb.22:
	cmp	w0, #64, lsl #12                ; =262144
	b.ls	LBB0_51
; %bb.23:
	cmp	w0, #128, lsl #12               ; =524288
	b.ls	LBB0_52
; %bb.24:
	cmp	w0, #256, lsl #12               ; =1048576
	b.ls	LBB0_53
; %bb.25:
	cmp	w0, #512, lsl #12               ; =2097152
	b.ls	LBB0_54
; %bb.26:
	cmp	w0, #1024, lsl #12              ; =4194304
	b.ls	LBB0_55
; %bb.27:
	cmp	w0, #2048, lsl #12              ; =8388608
	b.ls	LBB0_56
; %bb.28:
	mov	w8, #1
	movk	w8, #256, lsl #16
	cmp	w0, w8
	b.lo	LBB0_57
; %bb.29:
	mov	w8, #1
	movk	w8, #512, lsl #16
	cmp	w0, w8
	b.lo	LBB0_58
; %bb.30:
	mov	w8, #1
	movk	w8, #1024, lsl #16
	cmp	w0, w8
	b.lo	LBB0_59
; %bb.31:
	mov	w8, #1
	movk	w8, #2048, lsl #16
	cmp	w0, w8
	b.lo	LBB0_60
; %bb.32:
	mov	w8, #1
	movk	w8, #4096, lsl #16
	cmp	w0, w8
	b.lo	LBB0_61
; %bb.33:
	mov	w8, #1
	movk	w8, #8192, lsl #16
	cmp	w0, w8
	b.lo	LBB0_62
; %bb.34:
	mov	w8, #1073741824
	cmp	w0, w8
	mov	w8, #30
	cinc	w0, w8, hi
	ret
LBB0_35:
	mov	w0, #2
	ret
LBB0_36:
	mov	w0, #3
	ret
LBB0_37:
	mov	w0, #4
	ret
LBB0_38:
	mov	w0, #5
	ret
LBB0_39:
	mov	w0, #6
	ret
LBB0_40:
	mov	w0, #7
	ret
LBB0_41:
	mov	w0, #8
	ret
LBB0_42:
	mov	w0, #9
	ret
LBB0_43:
	mov	w0, #10
	ret
LBB0_44:
	mov	w0, #11
	ret
LBB0_45:
	mov	w0, #12
	ret
LBB0_46:
	mov	w0, #13
	ret
LBB0_47:
	mov	w0, #14
	ret
LBB0_48:
	mov	w0, #15
	ret
LBB0_49:
	mov	w0, #16
	ret
LBB0_50:
	mov	w0, #17
	ret
LBB0_51:
	mov	w0, #18
	ret
LBB0_52:
	mov	w0, #19
	ret
LBB0_53:
	mov	w0, #20
	ret
LBB0_54:
	mov	w0, #21
	ret
LBB0_55:
	mov	w0, #22
	ret
LBB0_56:
	mov	w0, #23
	ret
LBB0_57:
	mov	w0, #24
	ret
LBB0_58:
	mov	w0, #25
	ret
LBB0_59:
	mov	w0, #26
	ret
LBB0_60:
	mov	w0, #27
	ret
LBB0_61:
	mov	w0, #28
	ret
LBB0_62:
	mov	w0, #29
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_topower
.subsections_via_symbols
