	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth2_challenge                ## -- Begin function auth2_challenge
	.p2align	4, 0x90
_auth2_challenge:                       ## @auth2_challenge
	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rsi
	cmovneq	%rax, %rsi
	testq	%rbx, %rbx
	leaq	L_.str.2(%rip), %rdx
	cmovneq	%rbx, %rdx
	leaq	L_.str(%rip), %rdi
	callq	_debug
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.2:
	cmpq	$0, 8(%r15)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_kbdint_alloc
	movq	%rax, 8(%r15)
LBB0_4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_auth2_challenge_start          ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth2_challenge: user=%s devs=%s"

L_.str.1:                               ## @.str.1
	.asciz	"<nouser>"

L_.str.2:                               ## @.str.2
	.asciz	"<no devs>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth2_challenge                ; -- Begin function auth2_challenge
	.p2align	2
_auth2_challenge:                       ; @auth2_challenge
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x8, eq
Lloh2:
	adrp	x8, l_.str.2@PAGE
Lloh3:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x20, #0
	csel	x2, x20, x8, ne
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug
	cbz	x20, LBB0_5
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_kbdint_alloc
	str	x0, [x21, #8]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_auth2_challenge_start
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth2_challenge: user=%s devs=%s"

l_.str.1:                               ; @.str.1
	.asciz	"<nouser>"

l_.str.2:                               ; @.str.2
	.asciz	"<no devs>"

.subsections_via_symbols
