	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw_hash
_fw_hash:                               ## @fw_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HTSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$1023, %eax                     ## imm = 0x3FF
	jle	LBB0_1
## %bb.4:
	cmpl	$1024, %eax                     ## imm = 0x400
	je	LBB0_9
## %bb.5:
	cmpl	$2048, %eax                     ## imm = 0x800
	je	LBB0_8
## %bb.6:
	cmpl	$4096, %eax                     ## imm = 0x1000
	jne	LBB0_10
## %bb.7:
	movl	%edi, %ecx
	sarl	$24, %ecx
	movl	%edi, %eax
	shrl	$12, %eax
	xorl	%edi, %eax
	xorl	%ecx, %eax
	andl	$4095, %eax                     ## imm = 0xFFF
	popq	%rbp
	retq
LBB0_1:
	cmpl	$256, %eax                      ## imm = 0x100
	je	LBB0_11
## %bb.2:
	cmpl	$512, %eax                      ## imm = 0x200
	jne	LBB0_10
## %bb.3:
	movl	%edi, %eax
	sarl	$27, %eax
	movl	%edi, %ecx
	shrl	$18, %ecx
	andl	$511, %ecx                      ## imm = 0x1FF
	movl	%edi, %edx
	shrl	$9, %edx
	andl	$511, %edx                      ## imm = 0x1FF
	andl	$511, %edi                      ## imm = 0x1FF
	xorl	%eax, %edi
	xorl	%ecx, %edi
	xorl	%edx, %edi
	movl	%edi, %eax
	popq	%rbp
	retq
LBB0_9:
	movl	%edi, %ecx
	shrl	$20, %ecx
	movl	%edi, %eax
	shrl	$10, %eax
	xorl	%edi, %eax
	xorl	%ecx, %eax
	andl	$1023, %eax                     ## imm = 0x3FF
	popq	%rbp
	retq
LBB0_8:
	movl	%edi, %ecx
	sarl	$22, %ecx
	movl	%edi, %eax
	shrl	$11, %eax
	xorl	%edi, %eax
	xorl	%ecx, %eax
	andl	$2047, %eax                     ## imm = 0x7FF
	popq	%rbp
	retq
LBB0_10:
	decl	%eax
	andl	%edi, %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTSIZE,4,2                     ## @HTSIZE
	.no_dead_strip	_fw_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw_hash
_fw_hash:                               ; @fw_hash
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HTSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1023
	b.le	LBB0_5
; %bb.1:
	cmp	w9, #1024
	b.eq	LBB0_8
; %bb.2:
	cmp	w9, #2048
	b.eq	LBB0_9
; %bb.3:
	cmp	w9, #1, lsl #12                 ; =4096
	b.ne	LBB0_10
; %bb.4:
	eor	w8, w0, w0, lsr #12
	eor	w8, w8, w0, asr #24
	and	w0, w8, #0xfff
	ret
LBB0_5:
                                        ; implicit-def: $w8
	cmp	w9, #256
	b.eq	LBB0_11
; %bb.6:
	cmp	w9, #512
	b.ne	LBB0_10
; %bb.7:
	ubfx	w8, w0, #18, #9
	ubfx	w9, w0, #9, #9
	and	w10, w0, #0x1ff
	eor	w10, w10, w0, asr #27
	eor	w8, w10, w8
	eor	w0, w8, w9
	ret
LBB0_8:
	eor	w8, w0, w0, lsr #10
	eor	w8, w8, w0, lsr #20
	and	w0, w8, #0x3ff
	ret
LBB0_9:
	eor	w8, w0, w0, lsr #11
	eor	w8, w8, w0, asr #22
	and	w0, w8, #0x7ff
	ret
LBB0_10:
	sub	w8, w9, #1
	and	w8, w8, w0
LBB0_11:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HTSIZE,4,2                     ; @HTSIZE
	.no_dead_strip	_fw_hash
.subsections_via_symbols
