	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getthimmed12
_getthimmed12:                          ## @getthimmed12
	.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
	callq	_getnum
	movq	_err@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	cmpl	$0, (%r15)
	jne	LBB0_16
## %bb.1:
	movl	%eax, %ebx
	cmpl	$255, %eax
	jg	LBB0_3
## %bb.2:
	shll	$8, %ebx
	movl	%ebx, %r14d
	jmp	LBB0_16
LBB0_3:
	testl	$-16711936, %ebx                ## imm = 0xFF00FF00
	jne	LBB0_6
## %bb.4:
	movl	%ebx, %ecx
	andl	$16711680, %ecx                 ## imm = 0xFF0000
	movzbl	%bl, %eax
	movl	%eax, %edx
	shll	$16, %edx
	cmpl	%edx, %ecx
	jne	LBB0_6
## %bb.5:
	shll	$8, %eax
	orl	$16, %eax
	movl	%eax, %r14d
	jmp	LBB0_16
LBB0_6:
	movl	%ebx, %eax
	andl	$-16777216, %eax                ## imm = 0xFF000000
	testl	$16711935, %ebx                 ## imm = 0xFF00FF
	jne	LBB0_9
## %bb.7:
	movl	%ebx, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	movl	%ecx, %edx
	shll	$16, %edx
	cmpl	%edx, %eax
	jne	LBB0_9
## %bb.8:
	orl	$32, %ecx
	movl	%ecx, %r14d
	jmp	LBB0_16
LBB0_9:
	movl	%ebx, %ecx
	shll	$8, %ecx
	andl	$-16777216, %ecx                ## imm = 0xFF000000
	cmpl	%ecx, %eax
	jne	LBB0_13
## %bb.10:
	movl	%ebx, %ecx
	shll	$24, %ecx
	cmpl	%ecx, %eax
	jne	LBB0_13
## %bb.11:
	movl	%ebx, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	movl	%ecx, %edx
	shll	$16, %edx
	cmpl	%edx, %eax
	jne	LBB0_13
## %bb.12:
	orl	$48, %ecx
	movl	%ecx, %r14d
	jmp	LBB0_16
LBB0_13:
	movl	%ebx, %edi
	callq	_firstsigdigit
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.14:
	movb	$24, %cl
	subb	%al, %cl
	shrl	%cl, %ebx
	andl	$127, %ebx
	shll	$8, %ebx
	leal	8(%rax), %ecx
	shll	$15, %eax
	movzwl	%ax, %eax
	movl	%ecx, %edx
	andl	$14, %edx
	andl	$16, %ecx
	shll	$14, %ecx
	leal	(%rax,%rdx,8), %r14d
	orl	%ecx, %r14d
	orl	%ebx, %r14d
	jmp	LBB0_16
LBB0_15:
	movl	$1, (%r15)
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_err,4,2                        ## @err
	.no_dead_strip	_getthimmed12
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getthimmed12
_getthimmed12:                          ; @getthimmed12
	.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
	bl	_getnum
Lloh0:
	adrp	x20, _err@GOTPAGE
Lloh1:
	ldr	x20, [x20, _err@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_17
LBB0_2:
	mov	x19, x0
	cmp	w0, #255
	b.gt	LBB0_4
; %bb.3:
	lsl	w0, w19, #8
	b	LBB0_17
LBB0_4:
	tst	w19, #0xff00ff00
	b.ne	LBB0_7
; %bb.5:
	and	w9, w19, #0xff0000
	and	w8, w19, #0xff
	cmp	w9, w8, lsl #16
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #16
	bfi	w0, w8, #8, #8
	b	LBB0_17
LBB0_7:
	and	w8, w19, #0xff000000
	tst	w19, #0xff00ff
	b.ne	LBB0_10
; %bb.8:
	and	w9, w19, #0xff00
	cmp	w8, w9, lsl #16
	b.ne	LBB0_10
; %bb.9:
	orr	w0, w9, #0x20
	b	LBB0_17
LBB0_10:
	lsl	w9, w19, #8
	and	w9, w9, #0xff000000
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.11:
	cmp	w8, w19, lsl #24
	b.ne	LBB0_14
; %bb.12:
	and	w9, w19, #0xff00
	lsl	w10, w9, #16
	cmp	w8, w10
	b.ne	LBB0_14
; %bb.13:
	orr	w0, w9, #0x30
	b	LBB0_17
LBB0_14:
	mov	x0, x19
	bl	_firstsigdigit
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.15:
	mov	x8, x0
	mov	w9, #24
	sub	w9, w9, w0
	lsr	w9, w19, w9
	add	w10, w0, #8
	lsr	w11, w10, #4
	lsl	w10, w10, #3
	and	w0, w10, #0x70
	bfi	w0, w8, #15, #1
	bfi	w0, w11, #18, #1
	bfi	w0, w9, #8, #7
	b	LBB0_17
LBB0_16:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x20]
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_err,4,2                        ; @err
	.no_dead_strip	_getthimmed12
.subsections_via_symbols
