	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ber_oid2ber                    ## -- Begin function ber_oid2ber
	.p2align	4, 0x90
_ber_oid2ber:                           ## @ber_oid2ber
	.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
	.cfi_offset %rbx, -24
	movq	(%rdi), %rcx
	movq	_BER_MIN_OID_LEN@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpq	(%rbx), %rcx
	jb	LBB0_26
## %bb.1:
	movq	_BER_MAX_OID_LEN@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rcx
	ja	LBB0_26
## %bb.2:
	movq	8(%rdi), %r8
	movl	(%r8), %ebx
	cmpl	$2, %ebx
	jle	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_4:
	movl	4(%r8), %r9d
	xorl	%eax, %eax
	cmpl	$40, %r9d
	jg	LBB0_26
## %bb.5:
	cmpq	$2, %rcx
	jb	LBB0_26
## %bb.6:
	leal	(%rbx,%rbx,4), %eax
	leal	(%r9,%rax,8), %ebx
	movl	$1, %ecx
	xorl	%eax, %eax
	movq	_BER_TAG_TYPE_MASK@GOTPCREL(%rip), %r9
	movq	_BER_TAG_MORE@GOTPCREL(%rip), %r10
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	movl	4(%r8,%rcx,4), %ebx
	incq	%rcx
	cmpq	(%rdi), %rcx
	jae	LBB0_26
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %r11
	cmpl	$268435456, %r11d               ## imm = 0x10000000
	jae	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$2097152, %ebx                  ## imm = 0x200000
	jae	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$16384, %ebx                    ## imm = 0x4000
	jae	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$128, %ebx
	jae	LBB0_20
	.p2align	4, 0x90
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_24
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r11, %rbx
	shrq	$28, %rbx
	orq	(%r10), %rbx
	movq	%rbx, (%rsi,%rax,8)
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r11, %rbx
	shrq	$21, %rbx
	orq	(%r10), %rbx
	movq	%rbx, (%rsi,%rax,8)
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r11, %rbx
	shrq	$14, %rbx
	orq	(%r10), %rbx
	movq	%rbx, (%rsi,%rax,8)
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%rdx, %rdx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r11, %rbx
	shrq	$7, %rbx
	orq	(%r10), %rbx
	movq	%rbx, (%rsi,%rax,8)
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rax
	testq	%rdx, %rdx
	je	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	andq	(%r9), %r11
	movq	%r11, (%rsi,%rax,8)
	jmp	LBB0_25
LBB0_26:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BER_MIN_OID_LEN,8,3            ## @BER_MIN_OID_LEN
	.comm	_BER_MAX_OID_LEN,8,3            ## @BER_MAX_OID_LEN
	.comm	_BER_TAG_MORE,8,3               ## @BER_TAG_MORE
	.comm	_BER_TAG_TYPE_MASK,8,3          ## @BER_TAG_TYPE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ber_oid2ber                    ; -- Begin function ber_oid2ber
	.p2align	2
_ber_oid2ber:                           ; @ber_oid2ber
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BER_MIN_OID_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BER_MIN_OID_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _BER_MAX_OID_LEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BER_MAX_OID_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #2, hs
	b.ls	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	ldr	x9, [x0, #8]
	ldr	w10, [x9]
	cmp	w10, #2
	b.le	LBB0_4
; %bb.3:
	mov	x0, #0
	ret
LBB0_4:
	ldr	w11, [x9, #4]
	cmp	w11, #40
	ccmp	x8, #2, #0, le
	b.hs	LBB0_6
; %bb.5:
	mov	x0, #0
	ret
LBB0_6:
	mov	x8, #0
	mov	w12, #40
	madd	w14, w10, w12, w11
	mov	w10, #2
Lloh6:
	adrp	x11, _BER_TAG_TYPE_MASK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BER_TAG_TYPE_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x12, _BER_TAG_MORE@GOTPAGE
Lloh9:
	ldr	x12, [x12, _BER_TAG_MORE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
	ldr	w14, [x9, x10, lsl #2]
	add	x13, x10, #1
	ldr	x15, [x0]
	cmp	x10, x15
	mov	x10, x13
	b.hs	LBB0_26
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x13, w14
	lsr	w14, w14, #28
	cbnz	w14, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w13, #512, lsl #12              ; =2097152
	b.hs	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w13, #4, lsl #12                ; =16384
	b.hs	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w13, #128
	b.hs	LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x2, LBB0_25
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x2, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x14, [x12]
	orr	x14, x14, x13, lsr #28
	str	x14, [x1, x8, lsl #3]
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x2, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x14, [x12]
	orr	x14, x14, x13, lsr #21
	str	x14, [x1, x8, lsl #3]
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x2, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x14, [x12]
	orr	x14, x14, x13, lsr #14
	str	x14, [x1, x8, lsl #3]
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x2, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x14, [x12]
	orr	x14, x14, x13, lsr #7
	str	x14, [x1, x8, lsl #3]
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
	cbz	x2, LBB0_7
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x14, [x11]
	and	x13, x14, x13
	str	x13, [x1, x8, lsl #3]
	b	LBB0_7
LBB0_26:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BER_MIN_OID_LEN,8,3            ; @BER_MIN_OID_LEN
	.comm	_BER_MAX_OID_LEN,8,3            ; @BER_MAX_OID_LEN
	.comm	_BER_TAG_MORE,8,3               ; @BER_TAG_MORE
	.comm	_BER_TAG_TYPE_MASK,8,3          ; @BER_TAG_TYPE_MASK
.subsections_via_symbols
