	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function client_request_x11
_client_request_x11:                    ## @client_request_x11
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_options@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	_x11_refuse_time@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_monotime
	cmpq	(%rbx), %rax
	jge	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_packet_get_string
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_packet_get_int
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_packet_check_eom
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_debug
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_x11_connect_display
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movq	_SSH_CHANNEL_X11_OPEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CHAN_TCP_WINDOW_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_CHAN_X11_PACKET_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	movl	%eax, %r8d
	movl	$-1, %r9d
	pushq	$1
	pushq	%rsi
	pushq	$0
	pushq	%rbx
	pushq	%r10
	callq	_channel_new
	addq	$48, %rsp
	movq	%rax, %rbx
	movl	$1, (%rax)
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_error
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_verbose
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_options,4,2                    ## @options
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: ssh server tried X11 forwarding."

L_.str.1:                               ## @.str.1
	.asciz	"Warning: this is probably a break-in attempt by a malicious server."

	.comm	_x11_refuse_time,8,3            ## @x11_refuse_time
L_.str.2:                               ## @.str.2
	.asciz	"Rejected X11 connection after ForwardX11Timeout expired"

L_.str.3:                               ## @.str.3
	.asciz	"client_request_x11: request from %s %d"

L_.str.4:                               ## @.str.4
	.asciz	"x11"

	.comm	_SSH_CHANNEL_X11_OPEN,4,2       ## @SSH_CHANNEL_X11_OPEN
	.comm	_CHAN_TCP_WINDOW_DEFAULT,4,2    ## @CHAN_TCP_WINDOW_DEFAULT
	.comm	_CHAN_X11_PACKET_DEFAULT,4,2    ## @CHAN_X11_PACKET_DEFAULT
	.no_dead_strip	_client_request_x11
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function client_request_x11
_client_request_x11:                    ; @client_request_x11
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x20, _x11_refuse_time@GOTPAGE
Lloh4:
	ldr	x20, [x20, _x11_refuse_time@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_monotime
	ldr	x8, [x20]
	cmp	x0, x8
	b.ge	LBB0_6
LBB0_3:
	mov	x0, #0
	bl	_packet_get_string
	mov	x20, x0
	bl	_packet_get_int
	mov	x21, x0
	bl	_packet_check_eom
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_debug
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_x11_connect_display
	tbnz	w0, #31, LBB0_7
; %bb.4:
	mov	x3, x0
Lloh7:
	adrp	x8, _SSH_CHANNEL_X11_OPEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSH_CHANNEL_X11_OPEN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _CHAN_TCP_WINDOW_DEFAULT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CHAN_TCP_WINDOW_DEFAULT@GOTPAGEOFF]
Lloh12:
	ldr	w6, [x8]
Lloh13:
	adrp	x8, _CHAN_X11_PACKET_DEFAULT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CHAN_X11_PACKET_DEFAULT@GOTPAGEOFF]
Lloh15:
	ldr	w7, [x8]
	mov	w20, #1
	str	w20, [sp, #16]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	str	x1, [sp, #8]
	str	wzr, [sp]
	mov	x0, x19
	mov	x4, x3
	mov	w5, #-1
	bl	_channel_new
	str	w20, [x0]
	b	LBB0_8
LBB0_5:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	b	LBB0_7
LBB0_6:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_verbose
LBB0_7:
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_options,4,2                    ; @options
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: ssh server tried X11 forwarding."

l_.str.1:                               ; @.str.1
	.asciz	"Warning: this is probably a break-in attempt by a malicious server."

	.comm	_x11_refuse_time,8,3            ; @x11_refuse_time
l_.str.2:                               ; @.str.2
	.asciz	"Rejected X11 connection after ForwardX11Timeout expired"

l_.str.3:                               ; @.str.3
	.asciz	"client_request_x11: request from %s %d"

l_.str.4:                               ; @.str.4
	.asciz	"x11"

	.comm	_SSH_CHANNEL_X11_OPEN,4,2       ; @SSH_CHANNEL_X11_OPEN
	.comm	_CHAN_TCP_WINDOW_DEFAULT,4,2    ; @CHAN_TCP_WINDOW_DEFAULT
	.comm	_CHAN_X11_PACKET_DEFAULT,4,2    ; @CHAN_X11_PACKET_DEFAULT
	.no_dead_strip	_client_request_x11
.subsections_via_symbols
