	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssh_packet_set_maxsize         ## -- Begin function ssh_packet_set_maxsize
	.p2align	4, 0x90
_ssh_packet_set_maxsize:                ## @ssh_packet_set_maxsize
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_logit
	movl	$-1, %r14d
	jmp	LBB0_5
LBB0_2:
	leal	-1048577(%r14), %eax
	cmpl	$-1044482, %eax                 ## imm = 0xFFF00FFE
	ja	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_logit
	movl	$-1, %r14d
	jmp	LBB0_5
LBB0_4:
	movl	$1, (%rbx)
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	callq	_debug
	movl	%r14d, 4(%rbx)
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"packet_set_maxsize: called twice: old %d new %d"

L_.str.1:                               ## @.str.1
	.asciz	"packet_set_maxsize: bad size %d"

L_.str.2:                               ## @.str.2
	.asciz	"packet_set_maxsize: setting to %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssh_packet_set_maxsize         ; -- Begin function ssh_packet_set_maxsize
	.p2align	2
_ssh_packet_set_maxsize:                ; @ssh_packet_set_maxsize
	.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, x1
	ldr	x20, [x0]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w1, [x20, #4]
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	sub	w8, w19, #256, lsl #12          ; =1048576
	sub	w8, w8, #1
	mov	w9, #4094
	movk	w9, #65520, lsl #16
	cmp	w8, w9
	b.hi	LBB0_5
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
LBB0_4:
	bl	_logit
	mov	w19, #-1
	b	LBB0_6
LBB0_5:
	mov	w8, #1
	str	w8, [x20]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_debug
	str	w19, [x20, #4]
LBB0_6:
	mov	x0, x19
	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 AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"packet_set_maxsize: called twice: old %d new %d"

l_.str.1:                               ; @.str.1
	.asciz	"packet_set_maxsize: bad size %d"

l_.str.2:                               ; @.str.2
	.asciz	"packet_set_maxsize: setting to %d"

.subsections_via_symbols
