	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_windowBits_hi
_set_windowBits_hi:                     ## @set_windowBits_hi
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MAX_WBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_windowBits_IDAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VLSIZE
	cmpl	$8, %ebx
	movl	$8, %esi
	cmovll	%ebx, %esi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r13d
	cmpl	$9, %ebx
	jl	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-1(%r13), %ebx
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	cmpl	%edx, (%r14)
	jbe	LBB0_1
## %bb.4:
	incl	%ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
LBB0_2:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
LBB0_5:
	movl	%eax, %ebx
	movl	%eax, %r15d
	sarl	$31, %r15d
	andl	%eax, %r15d
	leal	-1(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_range_hi@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	decq	%rbx
	movq	_windowBits_IDAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VLNAME
	movl	%ebx, %ecx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.8:
	leal	1(%rbx), %r15d
	movl	%ebx, %eax
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
LBB0_9:
	xorl	%r12d, %r12d
	cmpl	$9, %r13d
	setge	%r12b
	xorl	%edi, %edi
	cmpl	$3, %r15d
	setge	%dil
	callq	_assert
	movq	_windowBits_IDAT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_VLNAME
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	shlq	$4, %rcx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 8(%rax,%rcx)
	movl	(%rbx), %edi
	callq	_VLNAME
	movslq	%r15d, %rbx
	shlq	$4, %rbx
	movq	-32(%rax,%rbx), %rax
	movq	_range_lo@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	orl	$8, %r12d
	movq	_windowBits_IDAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_VLNAME
	movl	%r12d, -24(%rax,%rbx)
	cmpl	$8, %r13d
	jne	LBB0_11
## %bb.10:
	movq	_windowBits@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_OPTIND
	movl	%eax, 4(%r14)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WBITS,4,2                  ## @MAX_WBITS
	.comm	_windowBits_IDAT,4,2            ## @windowBits_IDAT
	.comm	_range_hi,8,3                   ## @range_hi
	.comm	_range_lo,8,3                   ## @range_lo
	.comm	_windowBits,4,2                 ## @windowBits
	.no_dead_strip	_set_windowBits_hi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_windowBits_hi
_set_windowBits_hi:                     ; @set_windowBits_hi
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_WBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_WBITS@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x20, _windowBits_IDAT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _windowBits_IDAT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_VLSIZE
	mov	w8, #8
	cmp	w23, #8
	csel	w21, w23, w8, lt
	mov	w8, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x23
	cmp	w23, #9
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x19]
	sub	w23, w22, #1
	lsl	w10, w8, w23
	cmp	w9, w10
	b.ls	LBB0_1
; %bb.3:
	add	w21, w23, #1
LBB0_4:
	mov	w25, w0
	cmp	w0, #0
	csel	w23, w0, wzr, lt
	sub	w24, w23, #1
Lloh5:
	adrp	x26, _range_hi@GOTPAGE
Lloh6:
	ldr	x26, [x26, _range_hi@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w25, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x25, x25, #1
	ldr	w0, [x20]
	bl	_VLNAME
	and	x8, x25, #0xffffffff
	lsl	x8, x8, #4
	ldr	x8, [x0, x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:
	add	w23, w25, #1
	mov	x24, x25
LBB0_8:
	cmp	w23, #2
	cset	w0, gt
	bl	_assert
	ldr	w0, [x20]
	bl	_VLNAME
	add	x8, x0, w24, sxtw #4
	str	w21, [x8, #8]
	ldr	w0, [x20]
	bl	_VLNAME
	sbfiz	x8, x23, #4, #32
	sub	x23, x8, #32
	ldr	x8, [x0, x23]
Lloh7:
	adrp	x9, _range_lo@GOTPAGE
Lloh8:
	ldr	x9, [x9, _range_lo@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	cmp	w22, #8
	mov	w8, #8
	cinc	w22, w8, gt
	ldr	w0, [x20]
	bl	_VLNAME
	add	x8, x0, x23
	str	w22, [x8, #8]
	cmp	w21, #8
	b.ne	LBB0_10
; %bb.9:
Lloh10:
	adrp	x8, _windowBits@GOTPAGE
Lloh11:
	ldr	x8, [x8, _windowBits@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_OPTIND
	str	w0, [x19, #4]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WBITS,4,2                  ; @MAX_WBITS
	.comm	_windowBits_IDAT,4,2            ; @windowBits_IDAT
	.comm	_range_hi,8,3                   ; @range_hi
	.comm	_range_lo,8,3                   ; @range_lo
	.comm	_windowBits,4,2                 ; @windowBits
	.no_dead_strip	_set_windowBits_hi
.subsections_via_symbols
