	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_packet                    ## -- Begin function send_packet
	.p2align	4, 0x90
_send_packet:                           ## @send_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movb	$0, (%rax,%rcx)
	movq	(%rbx), %rsi
	cmpq	$0, 24(%rbx)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_eprintf
LBB0_3:
	movl	16(%rbx), %edi
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_r_socket_write                 ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_eprintf
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initialize libgdbr_t first\n"

L_.str.1:                               ## @.str.1
	.asciz	"putpkt (\"%s\");  %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"[noack mode]"

L_.str.3:                               ## @.str.3
	.asciz	"[looking for ack]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_packet                    ; -- Begin function send_packet
	.p2align	2
_send_packet:                           ; @send_packet
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.2:
	ldp	x8, x9, [x19]
	strb	wzr, [x8, x9]
	ldr	x8, [x19]
	ldr	x9, [x19, #24]
Lloh0:
	adrp	x10, l_.str.2@PAGE
Lloh1:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh2:
	adrp	x11, l_.str.3@PAGE
Lloh3:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	x9, #0
	csel	x9, x11, x10, eq
	stp	x8, x9, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_eprintf
LBB0_3:
	ldr	w0, [x19, #16]
	ldp	x1, x2, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_r_socket_write
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	w0, #-1
	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	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initialize libgdbr_t first\n"

l_.str.1:                               ; @.str.1
	.asciz	"putpkt (\"%s\");  %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"[noack mode]"

l_.str.3:                               ; @.str.3
	.asciz	"[looking for ack]"

.subsections_via_symbols
