	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_pdu_init_secparams        ## -- Begin function snmp_pdu_init_secparams
	.p2align	4, 0x90
_snmp_pdu_init_secparams:               ## @snmp_pdu_init_secparams
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	_SNMP_AUTH_NOAUTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_SNMP_MSG_AUTH_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_2:
	movl	24(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.4:
	movl	4(%rbx), %edi
	leaq	8(%rbx), %rsi
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_random
	movl	%eax, -12(%rbp)
	movl	4(%rbx), %edi
	leaq	-12(%rbp), %rsi
LBB0_6:
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_random
	movl	%eax, -12(%rbp)
	movl	4(%rbx), %edi
	addl	$4, %edi
	leaq	-12(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_SNMP_MSG_PRIV_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_AUTH_NOAUTH,8,3           ## @SNMP_AUTH_NOAUTH
	.comm	_SNMP_MSG_AUTH_FLAG,4,2         ## @SNMP_MSG_AUTH_FLAG
	.comm	_SNMP_MSG_PRIV_FLAG,4,2         ## @SNMP_MSG_PRIV_FLAG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snmp_pdu_init_secparams        ; -- Begin function snmp_pdu_init_secparams
	.p2align	2
_snmp_pdu_init_secparams:               ; @snmp_pdu_init_secparams
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _SNMP_AUTH_NOAUTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNMP_AUTH_NOAUTH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SNMP_MSG_AUTH_FLAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNMP_MSG_AUTH_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	ldr	w8, [x19, #24]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.4:
	ldr	w0, [x19, #4]
	add	x1, x19, #8
	b	LBB0_6
LBB0_5:
	bl	_random
	str	w0, [sp, #12]
	ldr	w0, [x19, #4]
	add	x1, sp, #12
LBB0_6:
	mov	w2, #4
	bl	_memcpy
	bl	_random
	str	w0, [sp, #12]
	ldr	w8, [x19, #4]
	add	w0, w8, #4
	add	x1, sp, #12
	mov	w2, #4
	bl	_memcpy
Lloh6:
	adrp	x8, _SNMP_MSG_PRIV_FLAG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SNMP_MSG_PRIV_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_AUTH_NOAUTH,8,3           ; @SNMP_AUTH_NOAUTH
	.comm	_SNMP_MSG_AUTH_FLAG,4,2         ; @SNMP_MSG_AUTH_FLAG
	.comm	_SNMP_MSG_PRIV_FLAG,4,2         ; @SNMP_MSG_PRIV_FLAG
.subsections_via_symbols
