	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_pdu_send                  ## -- Begin function snmp_pdu_send
	.p2align	4, 0x90
_snmp_pdu_send:                         ## @snmp_pdu_send
	.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	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	$40, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_snmp_send_packet
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.2:
	movl	%eax, %r14d
	movq	%r13, 32(%rbx)
	movq	%rbx, %rdi
	addq	$24, %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_4:
	movl	(%r13), %eax
	movl	%eax, 20(%rbx)
	movl	%r12d, 16(%rbx)
	movq	%r15, 8(%rbx)
	movl	$1, (%rbx)
	movq	_snmp_client@GOTPCREL(%rip), %rdi
	movq	_snmp_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	*8(%rdi)
	movl	%eax, 4(%rbx)
	movq	_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sent_pdus@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
	jmp	LBB0_8
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movq	_snmp_client@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_seterr
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_free
LBB0_7:
	movl	$-1, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snmp_client,16,3               ## @snmp_client
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"gettimeofday() failed"

	.comm	_snmp_timeout,4,2               ## @snmp_timeout
	.comm	_sent_pdus,4,2                  ## @sent_pdus
	.comm	_entries,4,2                    ## @entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_pdu_send                  ; -- Begin function snmp_pdu_send
	.p2align	2
_snmp_pdu_send:                         ; @snmp_pdu_send
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w0, #40
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x23
	bl	_snmp_send_packet
	mov	x19, x0
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
	str	x23, [x20, #32]
	add	x0, x20, #24
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_4:
	ldr	w8, [x23]
	stp	w22, w8, [x20, #16]
	str	x21, [x20, #8]
	mov	w8, #1
	str	w8, [x20]
Lloh2:
	adrp	x0, _snmp_client@GOTPAGE
Lloh3:
	ldr	x0, [x0, _snmp_client@GOTPAGEOFF]
	ldr	x8, [x0, #8]
Lloh4:
	adrp	x9, _snmp_timeout@GOTPAGE
Lloh5:
	ldr	x9, [x9, _snmp_timeout@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
	mov	x2, x20
	blr	x8
	str	w0, [x20, #4]
Lloh7:
	adrp	x8, _entries@GOTPAGE
Lloh8:
	ldr	x8, [x8, _entries@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x0, _sent_pdus@GOTPAGE
Lloh11:
	ldr	x0, [x0, _sent_pdus@GOTPAGEOFF]
	mov	x1, x20
	bl	_LIST_INSERT_HEAD
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh15:
	adrp	x0, _snmp_client@GOTPAGE
Lloh16:
	ldr	x0, [x0, _snmp_client@GOTPAGEOFF]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_seterr
	mov	w19, #-1
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_free
LBB0_7:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_snmp_client,16,3               ; @snmp_client
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"gettimeofday() failed"

	.comm	_snmp_timeout,4,2               ; @snmp_timeout
	.comm	_sent_pdus,4,2                  ; @sent_pdus
	.comm	_entries,4,2                    ; @entries
.subsections_via_symbols
