	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jpeg_fill_bit_buffer           ## -- Begin function jpeg_fill_bit_buffer
	.p2align	4, 0x90
_jpeg_fill_bit_buffer:                  ## @jpeg_fill_bit_buffer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	24(%rdi), %r15
	movq	_MIN_GET_BITS@GOTPCREL(%rip), %rsi
	cmpl	%edx, (%rsi)
	jle	LBB0_21
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r13d
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	_MIN_GET_BITS@GOTPCREL(%rip), %rsi
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	shll	$8, %r14d
	orl	%r13d, %r14d
	addl	$8, %edx
	cmpl	(%rsi), %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_21
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	cmpl	$0, 8(%rbx)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%ecx, %edx
	jge	LBB0_21
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rax
	xorl	%r13d, %r13d
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%rbx), %rdi
	movq	_JWRN_HIT_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	callq	_WARNMS
	movq	_MIN_GET_BITS@GOTPCREL(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	32(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testq	%r12, %r12
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%rbx), %rdi
	movq	(%rdi), %rax
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_24
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	8(%rax), %r15
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	decq	%r12
	movl	(%r15), %edi
	addq	$4, %r15
	callq	_GETJOCTET
	cmpl	$255, %eax
	jne	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	movq	8(%rax), %r15
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=2
	decq	%r12
	movl	(%r15), %edi
	addq	$4, %r15
	callq	_GETJOCTET
	cmpl	$255, %eax
	jne	LBB0_18
LBB0_16:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r12, %r12
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	40(%rbx), %rdi
	movq	(%rdi), %rax
	callq	*16(%rax)
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_24
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$255, %r13d
	jmp	LBB0_3
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, 8(%rbx)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	_MIN_GET_BITS@GOTPCREL(%rip), %rsi
	cmpl	%ecx, %edx
	jl	LBB0_7
LBB0_21:
	movq	%r15, 24(%rbx)
	movq	%r12, (%rbx)
	movl	%r14d, 12(%rbx)
	movl	%edx, 16(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_22:
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_GET_BITS,4,2               ## @MIN_GET_BITS
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_JWRN_HIT_MARKER,4,2            ## @JWRN_HIT_MARKER
	.comm	_TRUE,8,3                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jpeg_fill_bit_buffer           ; -- Begin function jpeg_fill_bit_buffer
	.p2align	2
_jpeg_fill_bit_buffer:                  ; @jpeg_fill_bit_buffer
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x26, [x0, #24]
	ldr	x28, [x0]
Lloh0:
	adrp	x24, _MIN_GET_BITS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MIN_GET_BITS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w2
	b.le	LBB0_19
; %bb.1:
	mov	x22, x3
Lloh2:
	adrp	x25, _TRUE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _FALSE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
Lloh6:
	adrp	x27, _JWRN_HIT_MARKER@GOTPAGE
Lloh7:
	ldr	x27, [x27, _JWRN_HIT_MARKER@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #40]
	ldr	w1, [x27]
	bl	_WARNMS
	mov	w0, #0
	ldr	x8, [x25]
	ldr	x9, [x21, #32]
	str	x8, [x9]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	orr	w20, w0, w20, lsl #8
	add	w19, w19, #8
	ldr	w8, [x24]
	cmp	w19, w8
	b.ge	LBB0_19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w22
	b.ge	LBB0_19
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x28, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21, #40]
	ldr	x8, [x0]
	ldr	x8, [x8, #16]
	blr	x8
	cbz	w0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #40]
	ldr	x8, [x8]
	ldp	x28, x26, [x8]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x28, x28, #1
	ldr	w0, [x26], #4
	bl	_GETJOCTET
	cmp	w0, #255
	b.eq	LBB0_14
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=2
	ldr	x8, [x21, #40]
	ldr	x8, [x8]
	ldp	x28, x26, [x8]
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	sub	x28, x28, #1
	ldr	w0, [x26], #4
	bl	_GETJOCTET
	cmp	w0, #255
	b.ne	LBB0_16
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbnz	x28, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x0, [x21, #40]
	ldr	x8, [x0]
	ldr	x8, [x8, #16]
	blr	x8
	cbnz	w0, LBB0_12
	b	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #255
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w0, [x21, #8]
	cmp	w19, w22
	b.lt	LBB0_6
LBB0_19:
	str	x26, [x21, #24]
	str	x28, [x21]
	stp	w20, w19, [x21, #12]
Lloh8:
	adrp	x23, _TRUE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
LBB0_20:
	ldr	x0, [x23]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_GET_BITS,4,2               ; @MIN_GET_BITS
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_JWRN_HIT_MARKER,4,2            ; @JWRN_HIT_MARKER
	.comm	_TRUE,8,3                       ; @TRUE
.subsections_via_symbols
