	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_service_request
_input_service_request:                 ## @input_service_request
	.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	%rdx, %r14
	movq	(%rdx), %r15
	leaq	-28(%rbp), %rdi
	callq	_packet_get_cstring
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_packet_check_eom
	testq	%r15, %r15
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_fatal
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	cmpl	$0, (%r15)
	je	LBB0_4
LBB0_5:
	leaq	L_.str.2(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_debug
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_packet_disconnect
LBB0_6:
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_SSH2_MSG_USERAUTH_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_input_userauth_request@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	callq	_ssh_dispatch_set
	movq	_SSH2_MSG_SERVICE_ACCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_packet_start
	movq	%rbx, %rdi
	callq	_packet_put_cstring
	xorl	%eax, %eax
	callq	_packet_send
	xorl	%eax, %eax
	callq	_packet_write_wait
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input_service_request: no authctxt"

L_.str.1:                               ## @.str.1
	.asciz	"ssh-userauth"

	.comm	_SSH2_MSG_USERAUTH_REQUEST,4,2  ## @SSH2_MSG_USERAUTH_REQUEST
	.comm	_input_userauth_request,4,2     ## @input_userauth_request
	.comm	_SSH2_MSG_SERVICE_ACCEPT,4,2    ## @SSH2_MSG_SERVICE_ACCEPT
L_.str.2:                               ## @.str.2
	.asciz	"bad service request %s"

	.no_dead_strip	_input_service_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_service_request
_input_service_request:                 ; @input_service_request
	.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
	mov	x20, x2
	ldr	x21, [x2]
	add	x0, sp, #12
	bl	_packet_get_cstring
	mov	x19, x0
	bl	_packet_check_eom
	cbnz	x21, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x21]
	cbz	w8, LBB0_6
LBB0_4:
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_debug
	mov	x0, x20
	mov	x1, x19
	bl	_packet_disconnect
LBB0_5:
	mov	x0, x19
	bl	_free
	mov	w0, #0
	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:
Lloh6:
	adrp	x8, _SSH2_MSG_USERAUTH_REQUEST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSH2_MSG_USERAUTH_REQUEST@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, _input_userauth_request@GOTPAGE
Lloh10:
	ldr	x2, [x2, _input_userauth_request@GOTPAGEOFF]
	mov	x0, x20
	bl	_ssh_dispatch_set
Lloh11:
	adrp	x8, _SSH2_MSG_SERVICE_ACCEPT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSH2_MSG_SERVICE_ACCEPT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_packet_start
	mov	x0, x19
	bl	_packet_put_cstring
	bl	_packet_send
	bl	_packet_write_wait
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input_service_request: no authctxt"

l_.str.1:                               ; @.str.1
	.asciz	"ssh-userauth"

	.comm	_SSH2_MSG_USERAUTH_REQUEST,4,2  ; @SSH2_MSG_USERAUTH_REQUEST
	.comm	_input_userauth_request,4,2     ; @input_userauth_request
	.comm	_SSH2_MSG_SERVICE_ACCEPT,4,2    ; @SSH2_MSG_SERVICE_ACCEPT
l_.str.2:                               ; @.str.2
	.asciz	"bad service request %s"

	.no_dead_strip	_input_service_request
.subsections_via_symbols
