	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth2_read_banner              ## -- Begin function auth2_read_banner
	.p2align	4, 0x90
_auth2_read_banner:                     ## @auth2_read_banner
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.1:
	movl	%eax, %ebx
	leaq	-40(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movl	-40(%rbp), %r15d
	leal	-1048577(%r15), %eax
	cmpl	$-1048577, %eax                 ## imm = 0xFFEFFFFF
	ja	LBB0_5
LBB0_3:
	movl	%ebx, %edi
	callq	_close
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	1(%r15), %rdi
	callq	_xmalloc
	movq	%rax, %r14
	movq	_read@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_atomicio
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_close
	cmpq	%r15, %r12
	jne	LBB0_7
## %bb.6:
	movb	$0, (%r14,%r15)
	jmp	LBB0_9
LBB0_7:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_options,4,2                    ## @options
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_read,4,2                       ## @read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth2_read_banner              ; -- Begin function auth2_read_banner
	.p2align	2
_auth2_read_banner:                     ; @auth2_read_banner
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _options@GOTPAGE
Lloh1:
	ldr	x8, [x8, _options@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	add	x1, sp, #8
	bl	_fstat
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	ldr	w20, [sp, #8]
	sub	w8, w20, #256, lsl #12          ; =1048576
	sub	w8, w8, #1
	lsr	w8, w8, #20
	cmp	w8, #4094
	b.hi	LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_close
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	add	x0, x20, #1
	bl	_xmalloc
	mov	x21, x0
Lloh6:
	adrp	x8, _read@GOTPAGE
Lloh7:
	ldr	x8, [x8, _read@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_atomicio
	mov	x22, x0
	mov	x0, x19
	bl	_close
	cmp	x22, x20
	b.ne	LBB0_8
; %bb.7:
	strb	wzr, [x21, x20]
	b	LBB0_5
LBB0_8:
	mov	x0, x21
	bl	_free
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_options,4,2                    ; @options
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_read,4,2                       ; @read
.subsections_via_symbols
