	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_if_pending_keys
_read_if_pending_keys:                  ## @read_if_pending_keys
	.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	%rbx
	pushq	%rax
	movl	$8200, %eax                     ## imm = 0x2008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	-8224(%rbp), %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	-8224(%rbp), %r14
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$59, -8224(%rbp)
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:
	movq	%rbx, %rdi
	callq	_fclose
	movq	_verb@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.10:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_11
LBB0_5:
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_6:
	movq	_verb@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$2, (%rax)
	jl	LBB0_11
## %bb.7:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_printf
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	addq	$8200, %rsp                     ## imm = 0x2008
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_verb,4,2                       ## @verb
L_.str.1:                               ## @.str.1
	.asciz	"%s: %s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"[ ADDPEND ]"

L_str:                                  ## @str
	.asciz	"RFC5011-state has ADDPEND keys"

	.no_dead_strip	_read_if_pending_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_if_pending_keys
_read_if_pending_keys:                  ; @read_if_pending_keys
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	w9, #8224
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #32
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #8192
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_9
; %bb.2:
Lloh7:
	adrp	x20, l_.str.2@PAGE
Lloh8:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	mov	w1, #8192
	mov	x2, x19
	bl	_fgets
	cbz	x0, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [sp, #24]
	cmp	w8, #59
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	mov	x1, x20
	bl	_strstr
	cbz	x0, LBB0_3
; %bb.6:
	mov	x0, x19
	bl	_fclose
Lloh9:
	adrp	x8, _verb@GOTPAGE
Lloh10:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.7:
Lloh12:
	adrp	x0, l_str@PAGE
Lloh13:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_8:
	mov	w0, #1
	b	LBB0_13
LBB0_9:
	mov	x0, x19
	bl	_fclose
	b	LBB0_12
LBB0_10:
Lloh14:
	adrp	x8, _verb@GOTPAGE
Lloh15:
	ldr	x8, [x8, _verb@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.11:
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_strerror
	stp	x20, x0, [sp]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-40]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_verb,4,2                       ; @verb
l_.str.1:                               ; @.str.1
	.asciz	"%s: %s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"[ ADDPEND ]"

l_str:                                  ; @str
	.asciz	"RFC5011-state has ADDPEND keys"

	.no_dead_strip	_read_if_pending_keys
.subsections_via_symbols
