	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_server                   ## -- Begin function parse_server
	.p2align	4, 0x90
_parse_server:                          ## @parse_server
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	_snmp_client@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_snmp_parse_server
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_7
## %bb.1:
	movq	_SNMP_TRANS_UDP@GOTPCREL(%rip), %rax
	movq	(%r15), %rcx
	cmpq	(%rax), %rcx
	jle	LBB0_6
## %bb.2:
	cmpq	$0, 8(%r15)
	jne	LBB0_6
## %bb.3:
	movq	_SNMP_DEFAULT_LOCAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_malloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_strcpy
LBB0_6:
	movl	$2, %r14d
	jmp	LBB0_7
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snmp_client,16,3               ## @snmp_client
	.comm	_SNMP_TRANS_UDP,8,3             ## @SNMP_TRANS_UDP
	.comm	_SNMP_DEFAULT_LOCAL,4,2         ## @SNMP_DEFAULT_LOCAL
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc() failed: %s"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_server                   ; -- Begin function parse_server
	.p2align	2
_parse_server:                          ; @parse_server
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x19, _snmp_client@GOTPAGE
Lloh1:
	ldr	x19, [x19, _snmp_client@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_snmp_parse_server
	tbnz	x0, #63, LBB0_6
; %bb.1:
Lloh2:
	adrp	x8, _SNMP_TRANS_UDP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNMP_TRANS_UDP@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldp	x9, x10, [x19]
	cmp	x9, x8
	ccmp	x10, #0, #0, gt
	b.ne	LBB0_4
; %bb.2:
Lloh5:
	adrp	x20, _SNMP_DEFAULT_LOCAL@GOTPAGE
Lloh6:
	ldr	x20, [x20, _SNMP_DEFAULT_LOCAL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_strlen
	add	x0, x0, #1
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w1, [x20]
	bl	_strcpy
LBB0_4:
	mov	w0, #2
	b	LBB0_7
LBB0_5:
Lloh7:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_syslog
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_snmp_client,16,3               ; @snmp_client
	.comm	_SNMP_TRANS_UDP,8,3             ; @SNMP_TRANS_UDP
	.comm	_SNMP_DEFAULT_LOCAL,4,2         ; @SNMP_DEFAULT_LOCAL
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc() failed: %s"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
