	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max_window_bits
_max_window_bits:                       ## @max_window_bits
	.cfi_startproc
## %bb.0:
	movl	$15, %eax
	cmpl	$1, %esi
	jg	LBB0_8
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	cmpl	$16384, %ecx                    ## imm = 0x4000
	popq	%rbp
	jg	LBB0_8
## %bb.2:
	movl	$14, %eax
	cmpl	$8192, %ecx                     ## imm = 0x2000
	jg	LBB0_8
## %bb.3:
	movl	$13, %eax
	cmpl	$4096, %ecx                     ## imm = 0x1000
	jg	LBB0_8
## %bb.4:
	movl	$12, %eax
	cmpl	$2048, %ecx                     ## imm = 0x800
	jg	LBB0_8
## %bb.5:
	movl	$11, %eax
	cmpl	$1024, %ecx                     ## imm = 0x400
	jg	LBB0_8
## %bb.6:
	movl	$10, %eax
	cmpl	$512, %ecx                      ## imm = 0x200
	jg	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpl	$257, %ecx                      ## imm = 0x101
	setge	%al
	orl	$8, %eax
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_max_window_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max_window_bits
_max_window_bits:                       ; @max_window_bits
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.le	LBB0_2
; %bb.1:
	mov	w0, #15
	ret
LBB0_2:
	ldr	w8, [x0]
	cmp	w8, #4, lsl #12                 ; =16384
	b.le	LBB0_4
; %bb.3:
	mov	w0, #15
	ret
LBB0_4:
	cmp	w8, #2, lsl #12                 ; =8192
	b.le	LBB0_6
; %bb.5:
	mov	w0, #14
	ret
LBB0_6:
	cmp	w8, #1, lsl #12                 ; =4096
	b.le	LBB0_8
; %bb.7:
	mov	w0, #13
	ret
LBB0_8:
	mov	w9, #12
	mov	w10, #11
	mov	w11, #10
	cmp	w8, #256
	mov	w12, #8
	cinc	w12, w12, gt
	cmp	w8, #512
	csel	w11, w11, w12, gt
	cmp	w8, #1024
	csel	w10, w10, w11, gt
	cmp	w8, #2048
	csel	w0, w9, w10, gt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_max_window_bits
.subsections_via_symbols
