	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_output_err_resp           ## -- Begin function snmp_output_err_resp
	.p2align	4, 0x90
_snmp_output_err_resp:                  ## @snmp_output_err_resp
	.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
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ASN_OIDSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	cmpl	24(%rbx), %eax
	jle	LBB0_4
LBB0_2:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.3:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_4:
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r14
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testq	%r14, %r14
	je	LBB0_5
## %bb.7:
	movq	_snmp_client@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rcx
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r12, %rdi
	callq	_ISSET_NUMERIC
	testl	%eax, %eax
	je	LBB0_8
LBB0_10:
	movq	16(%rbx), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$-4, %rdi
	movq	%r15, %rsi
	callq	_asn_oid2str_r
	movq	_stdout@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_8:
	movq	16(%rbx), %rax
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rdx
	addq	$-4, %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_snmp_fill_object
	testq	%rax, %rax
	jle	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_snmp_output_object
	movq	_stdout@GOTPCREL(%rip), %r12
LBB0_11:
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	8(%rbx), %rax
	movq	_SNMP_ERR_INCONS_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_SNMP_ERR_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	cmovaq	%rcx, %rdx
	testq	%rax, %rax
	movl	(%r12), %edi
	movq	_error_strings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmoveq	%rcx, %rdx
	movq	(%rax,%rdx,8), %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r14, %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN_OIDSTRLEN,4,2              ## @ASN_OIDSTRLEN
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid error index in PDU\n"

L_.str.1:                               ## @.str.1
	.asciz	"calloc: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"Agent %s:%s returned error \n"

	.comm	_snmp_client,16,3               ## @snmp_client
L_.str.3:                               ## @.str.3
	.asciz	"%s"

L_.str.4:                               ## @.str.4
	.asciz	" caused error - "

	.comm	_SNMP_ERR_INCONS_NAME,8,3       ## @SNMP_ERR_INCONS_NAME
L_.str.5:                               ## @.str.5
	.asciz	"%s\n"

	.comm	_error_strings,8,3              ## @error_strings
	.comm	_SNMP_ERR_UNKNOWN,8,3           ## @SNMP_ERR_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_output_err_resp           ; -- Begin function snmp_output_err_resp
	.p2align	2
_snmp_output_err_resp:                  ; @snmp_output_err_resp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _ASN_OIDSTRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASN_OIDSTRLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	ldr	w9, [x19, #24]
	cmp	w8, w9
	b.le	LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _stdout@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.3:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fprintf
LBB0_4:
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
Lloh16:
	adrp	x24, _stdout@GOTPAGE
Lloh17:
	ldr	x24, [x24, _stdout@GOTPAGEOFF]
	ldr	w23, [x24]
	cbz	x0, LBB0_7
; %bb.5:
	mov	x20, x0
Lloh18:
	adrp	x8, _snmp_client@GOTPAGE
Lloh19:
	ldr	x8, [x8, _snmp_client@GOTPAGEOFF]
	ldp	x9, x8, [x8]
	stp	x9, x8, [sp, #-16]!
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_fprintf
	add	sp, sp, #16
	mov	x0, x21
	bl	_ISSET_NUMERIC
	cbz	w0, LBB0_8
LBB0_6:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	sub	x0, x8, #4
	mov	x1, x22
	bl	_asn_oid2str_r
	ldr	w0, [x24]
	str	x22, [sp, #-16]!
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	b	LBB0_10
LBB0_7:
Lloh24:
	adrp	x8, _errno@GOTPAGE
Lloh25:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp, #-16]!
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_fprintf
	add	sp, sp, #16
	b	LBB0_11
LBB0_8:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	sub	x2, x8, #4
	mov	x0, x21
	mov	x1, x20
	bl	_snmp_fill_object
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.9:
	mov	x0, x21
	mov	x1, x20
	bl	_snmp_output_object
LBB0_10:
	ldr	w0, [x24]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	ldr	x8, [x19, #8]
Lloh31:
	adrp	x9, _SNMP_ERR_INCONS_NAME@GOTPAGE
Lloh32:
	ldr	x9, [x9, _SNMP_ERR_INCONS_NAME@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x8, #0, #4, ls
	ldr	w0, [x24]
Lloh34:
	adrp	x9, _error_strings@GOTPAGE
Lloh35:
	ldr	x9, [x9, _error_strings@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
Lloh37:
	adrp	x10, _SNMP_ERR_UNKNOWN@GOTPAGE
Lloh38:
	ldr	x10, [x10, _SNMP_ERR_UNKNOWN@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
	csel	x8, x10, x8, eq
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [sp, #-16]!
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	mov	x0, x20
	bl	_free
LBB0_11:
	ldur	x8, [x29, #-56]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN_OIDSTRLEN,4,2              ; @ASN_OIDSTRLEN
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid error index in PDU\n"

l_.str.1:                               ; @.str.1
	.asciz	"calloc: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"Agent %s:%s returned error \n"

	.comm	_snmp_client,16,3               ; @snmp_client
l_.str.3:                               ; @.str.3
	.asciz	"%s"

l_.str.4:                               ; @.str.4
	.asciz	" caused error - "

	.comm	_SNMP_ERR_INCONS_NAME,8,3       ; @SNMP_ERR_INCONS_NAME
l_.str.5:                               ; @.str.5
	.asciz	"%s\n"

	.comm	_error_strings,8,3              ; @error_strings
	.comm	_SNMP_ERR_UNKNOWN,8,3           ; @SNMP_ERR_UNKNOWN
.subsections_via_symbols
