	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_pdu_create                ## -- Begin function snmp_pdu_create
	.p2align	4, 0x90
_snmp_pdu_create:                       ## @snmp_pdu_create
	.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	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	movq	_SNMP_PDU_SET@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	%r14, (%rax)
	sete	%cl
	movl	88(%rbx), %edi
	movq	_snmp_client@GOTPCREL(%rip), %r15
	movl	88(%r15,%rcx,4), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r14, 80(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movq	$0, 72(%rbx)
	movq	_SNMP_V3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	80(%r15), %rax
	incq	%rax
	movq	%rax, 80(%r15)
	movq	%rax, 48(%rbx)
	movl	40(%r15), %eax
	movl	%eax, 36(%rbx)
	movq	$0, 40(%rbx)
	movq	8(%r15), %rax
	movq	%rax, 8(%rbx)
	movq	_SNMP_SECMODEL_USM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	36(%rbx), %rdi
	leaq	24(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	32(%rbx), %rdi
	leaq	56(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_snmp_pdu_init_secparams
	jmp	LBB0_4
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_snmp_client@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_seterr
LBB0_4:
	movl	16(%r15), %edx
	movq	24(%rbx), %rdi
	testl	%edx, %edx
	jle	LBB0_6
## %bb.5:
	movq	48(%r15), %rsi
	callq	_memcpy
	leaq	16(%r15), %r14
	jmp	LBB0_7
LBB0_6:
	leaq	24(%r15), %r14
	movq	32(%r15), %rsi
	movl	24(%r15), %edx
	callq	_memcpy
LBB0_7:
	movl	(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	20(%rbx), %edi
	movl	20(%r15), %esi
	movl	$4, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strlcpy                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_PDU_SET,8,3               ## @SNMP_PDU_SET
	.comm	_snmp_client,96,3               ## @snmp_client
	.comm	_SNMP_V3,8,3                    ## @SNMP_V3
	.comm	_SNMP_SECMODEL_USM,8,3          ## @SNMP_SECMODEL_USM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown security model"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_pdu_create                ; -- Begin function snmp_pdu_create
	.p2align	2
_snmp_pdu_create:                       ; @snmp_pdu_create
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w1, #0
	mov	w2, #96
	bl	_memset
Lloh0:
	adrp	x8, _SNMP_PDU_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNMP_PDU_SET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _snmp_client@GOTPAGE
Lloh4:
	ldr	x21, [x21, _snmp_client@GOTPAGEOFF]
	ldr	w0, [x19, #88]
	add	x9, x21, #88
	add	x10, x21, #92
	cmp	x8, x20
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x21]
	str	x8, [x19]
	stp	xzr, x20, [x19, #72]
	stp	xzr, xzr, [x19, #56]
Lloh5:
	adrp	x9, _SNMP_V3@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SNMP_V3@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x21, #80]
	add	x8, x8, #1
	str	x8, [x21, #80]
	ldr	w9, [x21, #40]
	mov	x0, x19
	str	w9, [x0, #36]!
	stur	x8, [x0, #12]
	stur	xzr, [x0, #4]
	ldr	x8, [x21, #8]
	stur	x8, [x0, #-28]
Lloh8:
	adrp	x9, _SNMP_SECMODEL_USM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SNMP_SECMODEL_USM@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	add	x1, x21, #24
	mov	w2, #4
	bl	_memcpy
	add	x0, x19, #32
	add	x1, x21, #56
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	bl	_snmp_pdu_init_secparams
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh11:
	adrp	x0, _snmp_client@GOTPAGE
Lloh12:
	ldr	x0, [x0, _snmp_client@GOTPAGEOFF]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_seterr
LBB0_5:
	ldr	w2, [x21, #16]
	ldr	x0, [x19, #24]
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	x1, [x21, #48]
	bl	_memcpy
	add	x20, x21, #16
	b	LBB0_8
LBB0_7:
	mov	x20, x21
	ldr	w2, [x20, #24]!
	ldr	x1, [x20, #8]
	bl	_memcpy
LBB0_8:
	ldr	w8, [x20]
	str	w8, [x19, #16]
	ldr	w0, [x19, #20]
	ldr	w1, [x21, #20]
	mov	w2, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_strlcpy
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_PDU_SET,8,3               ; @SNMP_PDU_SET
	.comm	_snmp_client,96,3               ; @snmp_client
	.comm	_SNMP_V3,8,3                    ; @SNMP_V3
	.comm	_SNMP_SECMODEL_USM,8,3          ; @SNMP_SECMODEL_USM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown security model"

.subsections_via_symbols
