	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmpd_input                    ## -- Begin function snmpd_input
	.p2align	4, 0x90
_snmpd_input:                           ## @snmpd_input
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	%rsi, %rdi
	movq	%r13, %rsi
	callq	*(%rax)
	movl	$-1, %ebx
	cmpl	$-1, %eax
	je	LBB0_49
## %bb.1:
	movl	24(%r13), %edi
	movq	(%r13), %rsi
	leaq	56(%r13), %r9
	leaq	L_.str(%rip), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-60(%rbp), %r8
	callq	_snmp_input_start
	movl	%eax, %r15d
	movq	_SNMPD_INPUT_TRUNC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_6
## %bb.2:
	cmpq	$0, 48(%r13)
	je	LBB0_5
## %bb.3:
	movq	(%r13), %r14
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_buf_size
	cmpq	%rax, %r14
	jne	LBB0_49
## %bb.4:
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$-1, %ebx
	jmp	LBB0_49
LBB0_6:
	movq	_SNMPD_INPUT_FAILED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_8
## %bb.7:
	cmpq	$0, 48(%r13)
	movl	$-1, %ebx
	jne	LBB0_49
	jmp	LBB0_47
LBB0_8:
	movq	_SNMPD_INPUT_BAD_COMM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_47
## %bb.9:
	movq	_comm@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.10:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.11:
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:
	movq	(%r14), %rsi
	leaq	8(%r14), %rdx
	movq	16(%r13), %rcx
	movl	8(%r13), %r8d
	movl	-60(%rbp), %r10d
	cmpq	$0, 40(%r13)
	je	LBB0_13
## %bb.14:
	xorl	%ebx, %ebx
	cmpq	$0, 32(%r13)
	setne	%bl
	jmp	LBB0_15
LBB0_5:
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_49
LBB0_13:
	movl	$1, %ebx
LBB0_15:
	leaq	-56(%rbp), %rdi
	movl	%r15d, %r9d
	pushq	%rbx
	pushq	%r10
	callq	*%rax
	addq	$16, %rsp
                                        ## kill: def $eax killed $eax def $rax
	addl	$-129, %eax
	cmpl	$3, %eax
	ja	LBB0_22
## %bb.16:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	%r13, %rdi
	callq	_snmp_input_consume
	leaq	-56(%rbp), %rdi
	callq	_snmp_pdu_free
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	16(%rax)
	jmp	LBB0_48
LBB0_22:
	movq	-56(%rbp), %rax
	movq	_SNMP_PDU_RESPONSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.23:
	movq	_SNMP_PDU_TRAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.24:
	movq	_SNMP_PDU_TRAP2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.26:
	movq	-48(%rbp), %rcx
	movq	_SNMP_V3@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_35
## %bb.27:
	cmpq	$0, 40(%r13)
	je	LBB0_30
## %bb.28:
	cmpq	$0, 32(%r13)
	jne	LBB0_30
## %bb.29:
	movq	_SNMP_PDU_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
LBB0_34:
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	4(%rax)
	leaq	-56(%rbp), %rdi
	callq	_snmp_pdu_free
	movq	%r13, %rdi
	callq	_snmp_input_consume
	jmp	LBB0_19
LBB0_25:
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	incl	8(%rax)
	jmp	LBB0_37
LBB0_30:
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_35
## %bb.31:
	movq	(%rcx), %rcx
	movq	_COMM_WRITE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_35
## %bb.32:
	movq	_SNMP_PDU_SET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_34
## %bb.33:
	movq	_COMM_READ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_34
LBB0_35:
	movl	$1, %edi
	callq	_buf_alloc
	testq	%rax, %rax
	je	LBB0_36
## %bb.38:
	movq	%rax, %r12
	movl	24(%r13), %esi
	movq	(%r13), %rdx
	movl	-60(%rbp), %eax
	subq	$8, %rsp
	leaq	L_.str(%rip), %r9
	leaq	-56(%rbp), %rdi
	leaq	-72(%rbp), %r8
	movq	%r12, %rcx
	pushq	$0
	pushq	%rax
	pushq	%r15
	callq	_snmp_input_finish
	addq	$32, %rsp
	movq	_SNMPD_INPUT_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_46
## %bb.39:
	movq	(%r14), %rax
	movq	(%rax), %rbx
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	movq	-72(%rbp), %rdx
	movq	16(%r13), %rcx
	movl	8(%r13), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*%rax
	jmp	LBB0_42
LBB0_36:
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_37:
	leaq	-56(%rbp), %rdi
	callq	_snmp_pdu_free
	jmp	LBB0_47
LBB0_21:
	movq	%r13, %rdi
	callq	_snmp_input_consume
	leaq	-56(%rbp), %rdi
	callq	_snmp_pdu_free
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	4(%rax)
	jmp	LBB0_19
LBB0_18:
	movq	%r13, %rdi
	callq	_snmp_input_consume
	leaq	-56(%rbp), %rdi
	callq	_snmp_pdu_free
	movq	_snmpd_stats@GOTPCREL(%rip), %rax
	incl	12(%rax)
LBB0_19:
	movq	_snmpd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_48
## %bb.20:
	movq	_oid_authenticationFailure@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_snmp_send_trap
	jmp	LBB0_49
LBB0_41:
	movq	-72(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rcx
	callq	*16(%rbx)
LBB0_42:
	cmpl	$-1, %eax
	je	LBB0_43
## %bb.44:
	movslq	%eax, %rcx
	movq	-72(%rbp), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_46
## %bb.45:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_46
LBB0_43:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
LBB0_46:
	leaq	-56(%rbp), %rdi
	callq	_snmp_pdu_free
	movq	%r12, %rdi
	callq	_free
LBB0_47:
	movq	%r13, %rdi
	callq	_snmp_input_consume
LBB0_48:
	xorl	%ebx, %ebx
LBB0_49:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_47
	.long	L0_0_set_17
	.long	L0_0_set_21
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SNMP"

	.comm	_SNMPD_INPUT_TRUNC,4,2          ## @SNMPD_INPUT_TRUNC
	.comm	_snmpd_stats,20,2               ## @snmpd_stats
	.comm	_SNMPD_INPUT_FAILED,4,2         ## @SNMPD_INPUT_FAILED
	.comm	_SNMPD_INPUT_BAD_COMM,4,2       ## @SNMPD_INPUT_BAD_COMM
	.comm	_comm,8,3                       ## @comm
	.comm	_snmpd,8,3                      ## @snmpd
	.comm	_oid_authenticationFailure,4,2  ## @oid_authenticationFailure
	.comm	_SNMP_PDU_RESPONSE,8,3          ## @SNMP_PDU_RESPONSE
	.comm	_SNMP_PDU_TRAP,8,3              ## @SNMP_PDU_TRAP
	.comm	_SNMP_PDU_TRAP2,8,3             ## @SNMP_PDU_TRAP2
	.comm	_SNMP_V3,8,3                    ## @SNMP_V3
	.comm	_SNMP_PDU_SET,8,3               ## @SNMP_PDU_SET
	.comm	_COMM_WRITE,8,3                 ## @COMM_WRITE
	.comm	_COMM_READ,8,3                  ## @COMM_READ
	.comm	_SNMPD_INPUT_OK,4,2             ## @SNMPD_INPUT_OK
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"send*: %m"

L_.str.2:                               ## @.str.2
	.asciz	"send*: short write %zu/%zu"

	.comm	_AF_LOCAL,8,3                   ## @AF_LOCAL
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.comm	_RQ_CLIENT_ADDR,4,2             ## @RQ_CLIENT_ADDR
	.comm	_req,4,2                        ## @req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmpd_input                    ; -- Begin function snmpd_input
	.p2align	2
_snmpd_input:                           ; @snmpd_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x1
	mov	x1, x19
	blr	x8
	cmn	w0, #1
	b.eq	LBB0_48
; %bb.1:
	ldr	w0, [x19, #24]
	ldr	x1, [x19]
	add	x5, x19, #56
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #24
	add	x4, sp, #20
	bl	_snmp_input_start
Lloh2:
	adrp	x8, _SNMPD_INPUT_TRUNC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNMPD_INPUT_TRUNC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x19, [x19]
	mov	w0, #0
	bl	_buf_size
	mov	x8, x0
	mov	w0, #0
	cmp	x19, x8
	b.ne	LBB0_48
LBB0_4:
Lloh5:
	adrp	x8, _snmpd_stats@GOTPAGE
Lloh6:
	ldr	x8, [x8, _snmpd_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w0, #-1
	b	LBB0_48
LBB0_5:
	mov	x21, x0
Lloh7:
	adrp	x8, _SNMPD_INPUT_FAILED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SNMPD_INPUT_FAILED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_46
; %bb.7:
	mov	w0, #-1
	b	LBB0_48
LBB0_8:
Lloh10:
	adrp	x8, _SNMPD_INPUT_BAD_COMM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SNMPD_INPUT_BAD_COMM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_46
; %bb.9:
Lloh13:
	adrp	x22, _comm@GOTPAGE
Lloh14:
	ldr	x22, [x22, _comm@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_18
; %bb.10:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_18
; %bb.11:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.12:
	mov	x2, x20
	ldr	x1, [x2], #8
	ldr	x3, [x19, #16]
	ldr	w4, [x19, #8]
	ldr	w6, [sp, #20]
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_14
; %bb.13:
	ldr	x9, [x19, #32]
	cmp	x9, #0
	cset	w7, ne
	b	LBB0_15
LBB0_14:
	mov	w7, #1
LBB0_15:
	add	x0, sp, #24
	mov	x5, x21
	blr	x8
	sub	w8, w0, #129
	cmp	w8, #3
	b.hi	LBB0_18
; %bb.16:
Lloh15:
	adrp	x9, lJTI0_0@PAGE
Lloh16:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
	mov	x0, x19
	bl	_snmp_input_consume
	add	x0, sp, #24
	bl	_snmp_pdu_free
	mov	w0, #0
Lloh17:
	adrp	x8, _snmpd_stats@GOTPAGE
Lloh18:
	ldr	x8, [x8, _snmpd_stats@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
	b	LBB0_48
LBB0_18:
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, _SNMP_PDU_RESPONSE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SNMP_PDU_RESPONSE@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, _SNMP_PDU_TRAP@GOTPAGE
Lloh23:
	ldr	x10, [x10, _SNMP_PDU_TRAP@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
Lloh25:
	adrp	x11, _SNMP_PDU_TRAP2@GOTPAGE
Lloh26:
	ldr	x11, [x11, _SNMP_PDU_TRAP2@GOTPAGEOFF]
Lloh27:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_20
; %bb.19:
Lloh28:
	adrp	x8, _snmpd_stats@GOTPAGE
Lloh29:
	ldr	x8, [x8, _snmpd_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_34
LBB0_20:
	ldr	x9, [sp, #32]
Lloh30:
	adrp	x10, _SNMP_V3@GOTPAGE
Lloh31:
	ldr	x10, [x10, _SNMP_V3@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_29
; %bb.21:
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_25
; %bb.22:
	ldr	x9, [x19, #32]
	cbnz	x9, LBB0_25
; %bb.23:
Lloh33:
	adrp	x9, _SNMP_PDU_SET@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SNMP_PDU_SET@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
LBB0_24:
Lloh36:
	adrp	x8, _snmpd_stats@GOTPAGE
Lloh37:
	ldr	x8, [x8, _snmpd_stats@GOTPAGEOFF]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	add	x0, sp, #24
	bl	_snmp_pdu_free
	mov	x0, x19
	bl	_snmp_input_consume
	b	LBB0_37
LBB0_25:
	ldr	x9, [x22]
	cbz	x9, LBB0_29
; %bb.26:
	ldr	x9, [x9]
Lloh38:
	adrp	x10, _COMM_WRITE@GOTPAGE
Lloh39:
	ldr	x10, [x10, _COMM_WRITE@GOTPAGEOFF]
Lloh40:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_29
; %bb.27:
Lloh41:
	adrp	x10, _SNMP_PDU_SET@GOTPAGE
Lloh42:
	ldr	x10, [x10, _SNMP_PDU_SET@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	cmp	x8, x10
	b.eq	LBB0_24
; %bb.28:
Lloh44:
	adrp	x8, _COMM_READ@GOTPAGE
Lloh45:
	ldr	x8, [x8, _COMM_READ@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_24
LBB0_29:
	mov	w0, #1
	bl	_buf_alloc
	cbz	x0, LBB0_33
; %bb.30:
	mov	x22, x0
	ldr	w1, [x19, #24]
	ldr	x2, [x19]
	ldr	w7, [sp, #20]
	str	xzr, [sp]
Lloh47:
	adrp	x5, l_.str@PAGE
Lloh48:
	add	x5, x5, l_.str@PAGEOFF
	add	x0, sp, #24
	add	x4, sp, #40
	mov	x3, x22
	mov	x6, x21
	bl	_snmp_input_finish
Lloh49:
	adrp	x8, _SNMPD_INPUT_OK@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SNMPD_INPUT_OK@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_45
; %bb.31:
	ldr	x8, [x20]
	ldr	x9, [x8]
	ldr	x8, [x9, #8]
	cbz	x8, LBB0_39
; %bb.32:
	ldr	x2, [sp, #40]
	ldr	x3, [x19, #16]
	ldr	w4, [x19, #8]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	b	LBB0_40
LBB0_33:
Lloh52:
	adrp	x8, _snmpd_stats@GOTPAGE
Lloh53:
	ldr	x8, [x8, _snmpd_stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_34:
	add	x0, sp, #24
	bl	_snmp_pdu_free
	b	LBB0_46
LBB0_35:
	mov	x0, x19
	bl	_snmp_input_consume
	add	x0, sp, #24
	bl	_snmp_pdu_free
Lloh54:
	adrp	x8, _snmpd_stats@GOTPAGE
Lloh55:
	ldr	x8, [x8, _snmpd_stats@GOTPAGEOFF]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	b	LBB0_37
LBB0_36:
	mov	x0, x19
	bl	_snmp_input_consume
	add	x0, sp, #24
	bl	_snmp_pdu_free
Lloh56:
	adrp	x8, _snmpd_stats@GOTPAGE
Lloh57:
	ldr	x8, [x8, _snmpd_stats@GOTPAGEOFF]
	ldr	w9, [x8, #12]
	add	w9, w9, #1
	str	w9, [x8, #12]
LBB0_37:
Lloh58:
	adrp	x8, _snmpd@GOTPAGE
Lloh59:
	ldr	x8, [x8, _snmpd@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	cbz	x8, LBB0_47
; %bb.38:
Lloh61:
	adrp	x0, _oid_authenticationFailure@GOTPAGE
Lloh62:
	ldr	x0, [x0, _oid_authenticationFailure@GOTPAGEOFF]
	mov	x1, #0
	bl	_snmp_send_trap
	b	LBB0_47
LBB0_39:
	ldr	x8, [x9, #16]
	ldr	x2, [sp, #40]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	blr	x8
LBB0_40:
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_43
; %bb.41:
	sxtw	x8, w0
	ldr	x9, [sp, #40]
	cmp	x9, x8
	b.eq	LBB0_45
; %bb.42:
Lloh63:
	adrp	x10, _LOG_ERR@GOTPAGE
Lloh64:
	ldr	x10, [x10, _LOG_ERR@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x10]
	stp	x9, x8, [sp]
Lloh66:
	adrp	x1, l_.str.2@PAGE
Lloh67:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_44
LBB0_43:
Lloh68:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh69:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
Lloh71:
	adrp	x1, l_.str.1@PAGE
Lloh72:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_44:
	bl	_syslog
LBB0_45:
	add	x0, sp, #24
	bl	_snmp_pdu_free
	mov	x0, x22
	bl	_free
LBB0_46:
	mov	x0, x19
	bl	_snmp_input_consume
LBB0_47:
	mov	w0, #0
LBB0_48:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_46-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_35-LBB0_17)>>2
	.byte	(LBB0_36-LBB0_17)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SNMP"

	.comm	_SNMPD_INPUT_TRUNC,4,2          ; @SNMPD_INPUT_TRUNC
	.comm	_snmpd_stats,20,2               ; @snmpd_stats
	.comm	_SNMPD_INPUT_FAILED,4,2         ; @SNMPD_INPUT_FAILED
	.comm	_SNMPD_INPUT_BAD_COMM,4,2       ; @SNMPD_INPUT_BAD_COMM
	.comm	_comm,8,3                       ; @comm
	.comm	_snmpd,8,3                      ; @snmpd
	.comm	_oid_authenticationFailure,4,2  ; @oid_authenticationFailure
	.comm	_SNMP_PDU_RESPONSE,8,3          ; @SNMP_PDU_RESPONSE
	.comm	_SNMP_PDU_TRAP,8,3              ; @SNMP_PDU_TRAP
	.comm	_SNMP_PDU_TRAP2,8,3             ; @SNMP_PDU_TRAP2
	.comm	_SNMP_V3,8,3                    ; @SNMP_V3
	.comm	_SNMP_PDU_SET,8,3               ; @SNMP_PDU_SET
	.comm	_COMM_WRITE,8,3                 ; @COMM_WRITE
	.comm	_COMM_READ,8,3                  ; @COMM_READ
	.comm	_SNMPD_INPUT_OK,4,2             ; @SNMPD_INPUT_OK
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"send*: %m"

l_.str.2:                               ; @.str.2
	.asciz	"send*: short write %zu/%zu"

	.comm	_AF_LOCAL,8,3                   ; @AF_LOCAL
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.comm	_RQ_CLIENT_ADDR,4,2             ; @RQ_CLIENT_ADDR
	.comm	_req,4,2                        ; @req
.subsections_via_symbols
