	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_error_response
_get_error_response:                    ## @get_error_response
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	xorl	%r13d, %r13d
	leaq	-41(%rbp), %r15
	movq	_PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	cmpb	$0, -41(%rbp)
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_recv
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r13), %eax
	cmpl	(%r12), %r13d
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-41(%rbp), %ecx
	movb	%cl, (%rbx)
	movb	$0, 1(%rbx)
	incq	%rbx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
	cmpb	$0, -41(%rbp)
	jne	LBB0_1
LBB0_7:
	xorl	%eax, %eax
	cmpl	$2, %r13d
	cmovgeq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ## @PCAP_ERRBUF_SIZE
	.no_dead_strip	_get_error_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_error_response
_get_error_response:                    ; @get_error_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	mov	w22, #0
Lloh0:
	adrp	x21, _PCAP_ERRBUF_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PCAP_ERRBUF_SIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x8
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [sp, #15]
	cbz	w8, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #15
	mov	x0, x20
	mov	w2, #1
	mov	w3, #0
	bl	_recv
	cbz	x19, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w22, #1
	ldr	w9, [x21]
	cmp	w22, w9
	b.ge	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [sp, #15]
	strb	w9, [x19]
	strb	wzr, [x19, #1]!
	b	LBB0_1
LBB0_6:
	cmp	w22, #1
	csel	x0, x19, xzr, gt
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_ERRBUF_SIZE,4,2           ; @PCAP_ERRBUF_SIZE
	.no_dead_strip	_get_error_response
.subsections_via_symbols
