	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_hpack_decode_int           ## -- Begin function h2o_hpack_decode_int
	.p2align	4, 0x90
_h2o_hpack_decode_int:                  ## @h2o_hpack_decode_int
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r8
	cmpq	%rsi, %r8
	jae	LBB0_23
## %bb.1:
	movl	$-1, %r9d
	movl	%edx, %ecx
	shll	%cl, %r9d
	notl	%r9d
	leaq	4(%r8), %rcx
	movq	%rcx, (%rdi)
	movl	(%r8), %eax
	andl	%r9d, %eax
	cmpl	%r9d, %eax
	jne	LBB0_10
## %bb.2:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.3:
	movl	4(%r8), %edx
	movl	%edx, %eax
	andl	$127, %eax
	addl	%r9d, %eax
	leaq	8(%r8), %rcx
	movq	%rcx, (%rdi)
	testb	$-128, %dl
	je	LBB0_10
## %bb.4:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.5:
	movl	8(%r8), %edx
	movl	%edx, %ecx
	andl	$127, %ecx
	shll	$7, %ecx
	addl	%ecx, %eax
	leaq	12(%r8), %rcx
	movq	%rcx, (%rdi)
	testb	$-128, %dl
	je	LBB0_10
## %bb.6:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.7:
	movl	12(%r8), %edx
	movl	%edx, %ecx
	andl	$127, %ecx
	shll	$14, %ecx
	addl	%ecx, %eax
	leaq	16(%r8), %rcx
	movq	%rcx, (%rdi)
	testb	$-128, %dl
	je	LBB0_10
## %bb.8:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.9:
	movl	16(%r8), %edx
	movl	%edx, %ecx
	andl	$127, %ecx
	shll	$21, %ecx
	addl	%ecx, %eax
	leaq	20(%r8), %rcx
	movq	%rcx, (%rdi)
	testb	$-128, %dl
	jne	LBB0_11
LBB0_10:
	popq	%rbp
	retq
LBB0_11:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.12:
	movl	20(%r8), %ecx
	leaq	24(%r8), %rdx
	movq	%rdx, (%rdi)
	testb	$-128, %cl
	jne	LBB0_14
## %bb.13:
	shll	$28, %ecx
	addl	%ecx, %eax
	popq	%rbp
	retq
LBB0_14:
	cmpq	%rsi, %rdx
	je	LBB0_23
## %bb.15:
	leaq	28(%r8), %rcx
	testb	$-128, 24(%r8)
	movq	%rcx, (%rdi)
                                        ## implicit-def: $eax
	je	LBB0_10
## %bb.16:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.17:
	leaq	32(%r8), %rcx
	testb	$-128, 28(%r8)
	movq	%rcx, (%rdi)
                                        ## implicit-def: $eax
	je	LBB0_10
## %bb.18:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.19:
	leaq	36(%r8), %rcx
	testb	$-128, 32(%r8)
	movq	%rcx, (%rdi)
                                        ## implicit-def: $eax
	je	LBB0_10
## %bb.20:
	cmpq	%rsi, %rcx
	je	LBB0_23
## %bb.21:
	testb	$-128, (%rcx)
	jne	LBB0_25
## %bb.22:
	addq	$40, %r8
	movq	%r8, (%rdi)
                                        ## implicit-def: $eax
	popq	%rbp
	retq
LBB0_23:
	movq	_H2O_HTTP2_ERROR_INCOMPLETE@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_25:
	movq	_H2O_HTTP2_ERROR_COMPRESSION@GOTPCREL(%rip), %rax
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_HTTP2_ERROR_INCOMPLETE,4,2 ## @H2O_HTTP2_ERROR_INCOMPLETE
	.comm	_H2O_HTTP2_ERROR_COMPRESSION,4,2 ## @H2O_HTTP2_ERROR_COMPRESSION
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_hpack_decode_int           ; -- Begin function h2o_hpack_decode_int
	.p2align	2
_h2o_hpack_decode_int:                  ; @h2o_hpack_decode_int
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cmp	x9, x1
	b.hs	LBB0_23
; %bb.1:
	mov	w8, #-1
	lsl	w8, w8, w2
	mvn	w10, w8
	mov	x11, x9
	ldr	w12, [x11], #4
	str	x11, [x0]
	bic	w8, w12, w8
	cmp	w8, w10
	b.ne	LBB0_10
; %bb.2:
	cmp	x11, x1
	b.eq	LBB0_23
; %bb.3:
	ldr	w11, [x9, #4]
	and	w8, w11, #0x7f
	add	w8, w8, w10
	add	x10, x9, #8
	str	x10, [x0]
	tbz	w11, #7, LBB0_10
; %bb.4:
	cmp	x10, x1
	b.eq	LBB0_23
; %bb.5:
	ldr	w11, [x9, #8]
	ubfiz	w10, w11, #7, #7
	add	w8, w10, w8
	add	x10, x9, #12
	str	x10, [x0]
	tbz	w11, #7, LBB0_10
; %bb.6:
	cmp	x10, x1
	b.eq	LBB0_23
; %bb.7:
	ldr	w11, [x9, #12]
	ubfiz	w10, w11, #14, #7
	add	w8, w10, w8
	add	x10, x9, #16
	str	x10, [x0]
	tbz	w11, #7, LBB0_10
; %bb.8:
	cmp	x10, x1
	b.eq	LBB0_23
; %bb.9:
	ldr	w11, [x9, #16]
	ubfiz	w10, w11, #21, #7
	add	w8, w10, w8
	add	x10, x9, #20
	str	x10, [x0]
	tbnz	w11, #7, LBB0_11
LBB0_10:
	mov	x0, x8
	ret
LBB0_11:
	cmp	x10, x1
	b.eq	LBB0_23
; %bb.12:
	ldr	w10, [x9, #20]
	add	x11, x9, #24
	str	x11, [x0]
	tbnz	w10, #7, LBB0_14
; %bb.13:
	add	w0, w8, w10, lsl #28
	ret
LBB0_14:
	cmp	x11, x1
	b.eq	LBB0_23
; %bb.15:
	ldr	w11, [x9, #24]
	add	x10, x9, #28
	str	x10, [x0]
                                        ; implicit-def: $w8
	tbz	w11, #7, LBB0_10
; %bb.16:
	cmp	x10, x1
	b.eq	LBB0_23
; %bb.17:
	ldr	w11, [x9, #28]
	add	x10, x9, #32
	str	x10, [x0]
                                        ; implicit-def: $w8
	tbz	w11, #7, LBB0_10
; %bb.18:
	cmp	x10, x1
	b.eq	LBB0_23
; %bb.19:
	ldr	w11, [x9, #32]
	add	x10, x9, #36
	str	x10, [x0]
                                        ; implicit-def: $w8
	tbz	w11, #7, LBB0_10
; %bb.20:
	cmp	x10, x1
	b.eq	LBB0_23
; %bb.21:
	ldrb	w8, [x10]
	tbnz	w8, #7, LBB0_24
; %bb.22:
	add	x8, x9, #40
	str	x8, [x0]
                                        ; implicit-def: $w8
	mov	x0, x8
	ret
LBB0_23:
Lloh0:
	adrp	x8, _H2O_HTTP2_ERROR_INCOMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_INCOMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_24:
Lloh3:
	adrp	x8, _H2O_HTTP2_ERROR_COMPRESSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_COMPRESSION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_HTTP2_ERROR_INCOMPLETE,4,2 ; @H2O_HTTP2_ERROR_INCOMPLETE
	.comm	_H2O_HTTP2_ERROR_COMPRESSION,4,2 ; @H2O_HTTP2_ERROR_COMPRESSION
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
.subsections_via_symbols
