	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kd_send_ctrl_packet            ## -- Begin function kd_send_ctrl_packet
	.p2align	4, 0x90
_kd_send_ctrl_packet:                   ## @kd_send_ctrl_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	_KD_PACKET_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbp)
	movl	%edx, -28(%rbp)
	movl	%esi, -32(%rbp)
	leaq	-32(%rbp), %rsi
	movl	$32, %edx
	callq	_iob_write
	testq	%rax, %rax
	jns	LBB0_1
## %bb.2:
	movq	_KD_E_IOERR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_KD_E_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KD_PACKET_CTRL,4,2             ## @KD_PACKET_CTRL
	.comm	_KD_E_IOERR,4,2                 ## @KD_E_IOERR
	.comm	_KD_E_OK,4,2                    ## @KD_E_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kd_send_ctrl_packet            ; -- Begin function kd_send_ctrl_packet
	.p2align	2
_kd_send_ctrl_packet:                   ; @kd_send_ctrl_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _KD_PACKET_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KD_PACKET_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	stp	xzr, xzr, [sp, #8]
	stp	w1, w2, [sp]
	mov	x1, sp
	mov	w2, #32
	bl	_iob_write
Lloh3:
	adrp	x8, _KD_E_IOERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KD_E_IOERR@GOTPAGEOFF]
Lloh5:
	adrp	x9, _KD_E_OK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KD_E_OK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, lt
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KD_PACKET_CTRL,4,2             ; @KD_PACKET_CTRL
	.comm	_KD_E_IOERR,4,2                 ; @KD_E_IOERR
	.comm	_KD_E_OK,4,2                    ; @KD_E_OK
.subsections_via_symbols
