	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_userauth_service_accept  ## -- Begin function input_userauth_service_accept
	.p2align	4, 0x90
_input_userauth_service_accept:         ## @input_userauth_service_accept
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	(%rdx), %r14
	movq	%rdx, %rdi
	callq	_ssh_packet_remaining
	testq	%rax, %rax
	jle	LBB0_3
## %bb.1:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_sshpkt_get_cstring
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	-24(%rbp), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug2
	movq	-24(%rbp), %rdi
	callq	_free
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug2
LBB0_4:
	movq	%rbx, %rdi
	callq	_sshpkt_get_end
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_debug
	movq	%r14, %rdi
	callq	_userauth_none
	movq	_SSH2_MSG_EXT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_input_userauth_error@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ssh_dispatch_set
	movq	_SSH2_MSG_USERAUTH_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_input_userauth_success@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ssh_dispatch_set
	movq	_SSH2_MSG_USERAUTH_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_input_userauth_failure@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ssh_dispatch_set
	movq	_SSH2_MSG_USERAUTH_BANNER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_input_userauth_banner@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ssh_dispatch_set
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"service_accept: %s"

L_.str.1:                               ## @.str.1
	.asciz	"buggy server: service_accept w/o service"

L_.str.2:                               ## @.str.2
	.asciz	"SSH2_MSG_SERVICE_ACCEPT received"

	.comm	_SSH2_MSG_EXT_INFO,4,2          ## @SSH2_MSG_EXT_INFO
	.comm	_input_userauth_error,4,2       ## @input_userauth_error
	.comm	_SSH2_MSG_USERAUTH_SUCCESS,4,2  ## @SSH2_MSG_USERAUTH_SUCCESS
	.comm	_input_userauth_success,4,2     ## @input_userauth_success
	.comm	_SSH2_MSG_USERAUTH_FAILURE,4,2  ## @SSH2_MSG_USERAUTH_FAILURE
	.comm	_input_userauth_failure,4,2     ## @input_userauth_failure
	.comm	_SSH2_MSG_USERAUTH_BANNER,4,2   ## @SSH2_MSG_USERAUTH_BANNER
	.comm	_input_userauth_banner,4,2      ## @input_userauth_banner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_userauth_service_accept  ; -- Begin function input_userauth_service_accept
	.p2align	2
_input_userauth_service_accept:         ; @input_userauth_service_accept
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	ldr	x20, [x2]
	mov	x0, x2
	bl	_ssh_packet_remaining
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_sshpkt_get_cstring
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug2
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debug2
LBB0_4:
	mov	x0, x19
	bl	_sshpkt_get_end
	cbnz	w0, LBB0_6
; %bb.5:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug
	mov	x0, x20
	bl	_userauth_none
Lloh6:
	adrp	x8, _SSH2_MSG_EXT_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSH2_MSG_EXT_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, _input_userauth_error@GOTPAGE
Lloh10:
	ldr	x2, [x2, _input_userauth_error@GOTPAGEOFF]
	mov	x0, x19
	bl	_ssh_dispatch_set
Lloh11:
	adrp	x8, _SSH2_MSG_USERAUTH_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSH2_MSG_USERAUTH_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, _input_userauth_success@GOTPAGE
Lloh15:
	ldr	x2, [x2, _input_userauth_success@GOTPAGEOFF]
	mov	x0, x19
	bl	_ssh_dispatch_set
Lloh16:
	adrp	x8, _SSH2_MSG_USERAUTH_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSH2_MSG_USERAUTH_FAILURE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, _input_userauth_failure@GOTPAGE
Lloh20:
	ldr	x2, [x2, _input_userauth_failure@GOTPAGEOFF]
	mov	x0, x19
	bl	_ssh_dispatch_set
Lloh21:
	adrp	x8, _SSH2_MSG_USERAUTH_BANNER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSH2_MSG_USERAUTH_BANNER@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, _input_userauth_banner@GOTPAGE
Lloh25:
	ldr	x2, [x2, _input_userauth_banner@GOTPAGEOFF]
	mov	x0, x19
	bl	_ssh_dispatch_set
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"service_accept: %s"

l_.str.1:                               ; @.str.1
	.asciz	"buggy server: service_accept w/o service"

l_.str.2:                               ; @.str.2
	.asciz	"SSH2_MSG_SERVICE_ACCEPT received"

	.comm	_SSH2_MSG_EXT_INFO,4,2          ; @SSH2_MSG_EXT_INFO
	.comm	_input_userauth_error,4,2       ; @input_userauth_error
	.comm	_SSH2_MSG_USERAUTH_SUCCESS,4,2  ; @SSH2_MSG_USERAUTH_SUCCESS
	.comm	_input_userauth_success,4,2     ; @input_userauth_success
	.comm	_SSH2_MSG_USERAUTH_FAILURE,4,2  ; @SSH2_MSG_USERAUTH_FAILURE
	.comm	_input_userauth_failure,4,2     ; @input_userauth_failure
	.comm	_SSH2_MSG_USERAUTH_BANNER,4,2   ; @SSH2_MSG_USERAUTH_BANNER
	.comm	_input_userauth_banner,4,2      ; @input_userauth_banner
.subsections_via_symbols
