	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_AsnDecodeBitsSwapBytes
_CRYPT_AsnDecodeBitsSwapBytes:          ## @CRYPT_AsnDecodeBitsSwapBytes
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rax
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %rbx
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	(%r8), %r9d
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_TRACE
	movq	_CRYPT_DECODE_NOCOPY_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%r12d, %edx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rcx
	movq	%r15, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	callq	_CRYPT_AsnDecodeBitsInternal
	movl	%eax, %r14d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %esi
	cmpl	$2, %esi
	jl	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movl	$-1, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rdx,4), %edi
	addl	%ecx, %esi
	movslq	%esi, %rsi
	movl	(%rax,%rsi,4), %esi
	movl	%esi, (%rax,%rdx,4)
	movl	(%rbx), %esi
	addl	%ecx, %esi
	movslq	%esi, %rsi
	movl	%edi, (%rax,%rsi,4)
	incq	%rdx
	movl	(%rbx), %esi
	movl	%esi, %edi
	shrl	$31, %edi
	addl	%esi, %edi
	sarl	%edi
	movslq	%edi, %rdi
	decl	%ecx
	cmpq	%rdi, %rdx
	jl	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p, %d, 0x%08x, %p, %d, %p)\n"

	.comm	_CRYPT_DECODE_NOCOPY_FLAG,4,2   ## @CRYPT_DECODE_NOCOPY_FLAG
L_.str.1:                               ## @.str.1
	.asciz	"returning %d (%08x)\n"

	.no_dead_strip	_CRYPT_AsnDecodeBitsSwapBytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_AsnDecodeBitsSwapBytes
_CRYPT_AsnDecodeBitsSwapBytes:          ; @CRYPT_AsnDecodeBitsSwapBytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x5
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w8, [x4]
	stp	x8, x5, [sp, #16]
	stp	x22, x3, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x23
	bl	_TRACE
Lloh2:
	adrp	x8, _CRYPT_DECODE_NOCOPY_FLAG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CRYPT_DECODE_NOCOPY_FLAG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w2, w22, w8
	mov	x0, x24
	mov	x1, x23
	mov	x3, x19
	mov	x4, x21
	mov	x5, x20
	bl	_CRYPT_AsnDecodeBitsInternal
	mov	x20, x0
	cbz	x19, LBB0_5
; %bb.1:
	cbz	w20, LBB0_5
; %bb.2:
	ldr	w10, [x19]
	cmp	w10, #2
	b.lt	LBB0_5
; %bb.3:
	mov	x8, #0
	ldr	x9, [x19, #8]
	mov	w11, #-1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x8, #2
	ldr	w13, [x9, x12]
	add	w10, w10, w11
	ldr	w10, [x9, w10, sxtw #2]
	str	w10, [x9, x12]
	ldr	w10, [x19]
	add	w10, w11, w10
	str	w13, [x9, w10, sxtw #2]
	add	x8, x8, #1
	ldr	w10, [x19]
	cmp	w10, #0
	cinc	w12, w10, lt
	asr	w12, w12, #1
	sub	w11, w11, #1
	cmp	x8, w12, sxtw
	b.lt	LBB0_4
LBB0_5:
	bl	_GetLastError
	mov	x2, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_TRACE
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p, %d, 0x%08x, %p, %d, %p)\n"

	.comm	_CRYPT_DECODE_NOCOPY_FLAG,4,2   ; @CRYPT_DECODE_NOCOPY_FLAG
l_.str.1:                               ; @.str.1
	.asciz	"returning %d (%08x)\n"

	.no_dead_strip	_CRYPT_AsnDecodeBitsSwapBytes
.subsections_via_symbols
