	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_get_cipher_param           ## -- Begin function nlm_get_cipher_param
	.p2align	4, 0x90
_nlm_get_cipher_param:                  ## @nlm_get_cipher_param
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	movl	$-1, %eax
	cmpl	$3, %ecx
	ja	LBB0_2
## %bb.1:
	movslq	%ecx, %rax
	leaq	l_switch.table.nlm_get_cipher_param(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.nlm_get_cipher_param.1(%rip), %rdx
	movq	(%rdx,%rax,8), %rdx
	leaq	l_switch.table.nlm_get_cipher_param.2(%rip), %rsi
	movq	(%rsi,%rax,8), %rax
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rdi)
	movq	(%rdx), %rcx
	movq	%rcx, 8(%rdi)
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	xorl	%eax, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NLM_CIPHER_DES,4,2             ## @NLM_CIPHER_DES
	.comm	_NLM_CIPHER_MODE_CBC,8,3        ## @NLM_CIPHER_MODE_CBC
	.comm	_XLP_SEC_DES_IV_LENGTH,8,3      ## @XLP_SEC_DES_IV_LENGTH
	.comm	_NLM_CIPHER_3DES,4,2            ## @NLM_CIPHER_3DES
	.comm	_NLM_CIPHER_AES128,4,2          ## @NLM_CIPHER_AES128
	.comm	_XLP_SEC_AES_IV_LENGTH,8,3      ## @XLP_SEC_AES_IV_LENGTH
	.comm	_NLM_CIPHER_ARC4,4,2            ## @NLM_CIPHER_ARC4
	.comm	_NLM_CIPHER_MODE_ECB,8,3        ## @NLM_CIPHER_MODE_ECB
	.comm	_XLP_SEC_ARC4_IV_LENGTH,8,3     ## @XLP_SEC_ARC4_IV_LENGTH
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.nlm_get_cipher_param
l_switch.table.nlm_get_cipher_param:
	.quad	_NLM_CIPHER_DES
	.quad	_NLM_CIPHER_ARC4
	.quad	_NLM_CIPHER_AES128
	.quad	_NLM_CIPHER_3DES

	.p2align	3                               ## @switch.table.nlm_get_cipher_param.1
l_switch.table.nlm_get_cipher_param.1:
	.quad	_NLM_CIPHER_MODE_CBC
	.quad	_NLM_CIPHER_MODE_ECB
	.quad	_NLM_CIPHER_MODE_CBC
	.quad	_NLM_CIPHER_MODE_CBC

	.p2align	3                               ## @switch.table.nlm_get_cipher_param.2
l_switch.table.nlm_get_cipher_param.2:
	.quad	_XLP_SEC_DES_IV_LENGTH
	.quad	_XLP_SEC_ARC4_IV_LENGTH
	.quad	_XLP_SEC_AES_IV_LENGTH
	.quad	_XLP_SEC_DES_IV_LENGTH

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_get_cipher_param           ; -- Begin function nlm_get_cipher_param
	.p2align	2
_nlm_get_cipher_param:                  ; @nlm_get_cipher_param
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #24]
	ldr	w9, [x9]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	sbfiz	x9, x9, #3, #32
Lloh0:
	adrp	x10, l_switch.table.nlm_get_cipher_param@PAGE
Lloh1:
	add	x10, x10, l_switch.table.nlm_get_cipher_param@PAGEOFF
	ldr	x10, [x10, x9]
Lloh2:
	adrp	x11, l_switch.table.nlm_get_cipher_param.1@PAGE
Lloh3:
	add	x11, x11, l_switch.table.nlm_get_cipher_param.1@PAGEOFF
	ldr	x11, [x11, x9]
Lloh4:
	adrp	x12, l_switch.table.nlm_get_cipher_param.2@PAGE
Lloh5:
	add	x12, x12, l_switch.table.nlm_get_cipher_param.2@PAGEOFF
	ldr	x9, [x12, x9]
	ldr	w10, [x10]
	str	w10, [x8, #16]
	ldr	x10, [x11]
	str	x10, [x8, #8]
	ldr	x9, [x9]
	str	x9, [x8]
	ret
LBB0_2:
	mov	w0, #-1
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NLM_CIPHER_DES,4,2             ; @NLM_CIPHER_DES
	.comm	_NLM_CIPHER_MODE_CBC,8,3        ; @NLM_CIPHER_MODE_CBC
	.comm	_XLP_SEC_DES_IV_LENGTH,8,3      ; @XLP_SEC_DES_IV_LENGTH
	.comm	_NLM_CIPHER_3DES,4,2            ; @NLM_CIPHER_3DES
	.comm	_NLM_CIPHER_AES128,4,2          ; @NLM_CIPHER_AES128
	.comm	_XLP_SEC_AES_IV_LENGTH,8,3      ; @XLP_SEC_AES_IV_LENGTH
	.comm	_NLM_CIPHER_ARC4,4,2            ; @NLM_CIPHER_ARC4
	.comm	_NLM_CIPHER_MODE_ECB,8,3        ; @NLM_CIPHER_MODE_ECB
	.comm	_XLP_SEC_ARC4_IV_LENGTH,8,3     ; @XLP_SEC_ARC4_IV_LENGTH
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.nlm_get_cipher_param
l_switch.table.nlm_get_cipher_param:
	.quad	_NLM_CIPHER_DES
	.quad	_NLM_CIPHER_ARC4
	.quad	_NLM_CIPHER_AES128
	.quad	_NLM_CIPHER_3DES

	.p2align	3                               ; @switch.table.nlm_get_cipher_param.1
l_switch.table.nlm_get_cipher_param.1:
	.quad	_NLM_CIPHER_MODE_CBC
	.quad	_NLM_CIPHER_MODE_ECB
	.quad	_NLM_CIPHER_MODE_CBC
	.quad	_NLM_CIPHER_MODE_CBC

	.p2align	3                               ; @switch.table.nlm_get_cipher_param.2
l_switch.table.nlm_get_cipher_param.2:
	.quad	_XLP_SEC_DES_IV_LENGTH
	.quad	_XLP_SEC_ARC4_IV_LENGTH
	.quad	_XLP_SEC_AES_IV_LENGTH
	.quad	_XLP_SEC_DES_IV_LENGTH

.subsections_via_symbols
