	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_control_line
_set_control_line:                      ## @set_control_line
	.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
	movl	%r8d, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_PRIO_SETUP@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_TL_PROTOCOLID_SETUP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_TL_PROTOCOLID_COM_CTRL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	incl	%edx
	movl	$8, %edi
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_alloc_ctrl_packet
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	$4, (%rax)
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	setne	%cl
	movl	%ecx, 4(%rax)
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_send_packet
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TL_PROTOCOLID_COM_CTRL,4,2     ## @TL_PROTOCOLID_COM_CTRL
	.comm	_PRIO_SETUP,4,2                 ## @PRIO_SETUP
	.comm	_TL_PROTOCOLID_SETUP,4,2        ## @TL_PROTOCOLID_SETUP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_set_control_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_control_line
_set_control_line:                      ; @set_control_line
	.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	x21, x4
	mov	x19, x1
	mov	x20, x0
	add	w1, w2, #1
Lloh0:
	adrp	x8, _PRIO_SETUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRIO_SETUP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TL_PROTOCOLID_SETUP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TL_PROTOCOLID_SETUP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _TL_PROTOCOLID_COM_CTRL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TL_PROTOCOLID_COM_CTRL@GOTPAGEOFF]
	cmp	w8, w19
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	mov	w0, #8
	bl	_alloc_ctrl_packet
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
	mov	w8, #4
	cmp	w21, #0
	cset	w9, ne
	stp	w8, w9, [x0]
	mov	x0, x20
	mov	x1, x19
	bl	_send_packet
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TL_PROTOCOLID_COM_CTRL,4,2     ; @TL_PROTOCOLID_COM_CTRL
	.comm	_PRIO_SETUP,4,2                 ; @PRIO_SETUP
	.comm	_TL_PROTOCOLID_SETUP,4,2        ; @TL_PROTOCOLID_SETUP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_set_control_line
.subsections_via_symbols
