	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitstr_cb
_bitstr_cb:                             ## @bitstr_cb
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movq	-40(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	cmpb	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movslq	%r12d, %rdx
	addq	%rdx, %rbx
	cmpq	%rbx, %rcx
	jne	LBB0_9
LBB0_4:
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movl	$1, %r15d
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_ASN1_BIT_STRING_set_bit
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_ASN1_R_INVALID_NUMBER@GOTPCREL(%rip), %rax
LBB0_8:
	movq	_ASN1_F_BITSTR_CB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_ASN1err
	xorl	%r15d, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_F_BITSTR_CB,4,2           ## @ASN1_F_BITSTR_CB
	.comm	_ASN1_R_INVALID_NUMBER,4,2      ## @ASN1_R_INVALID_NUMBER
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_bitstr_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitstr_cb
_bitstr_cb:                             ; @bitstr_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	mov	x1, x0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldrb	w9, [x8]
	add	x10, x21, w20, sxtw
	cmp	w9, #0
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
LBB0_3:
	tbnz	x1, #63, LBB0_6
; %bb.4:
	mov	w20, #1
	mov	x0, x19
	mov	w2, #1
	bl	_ASN1_BIT_STRING_set_bit
	cbnz	w0, LBB0_9
; %bb.5:
Lloh0:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _ASN1_R_INVALID_NUMBER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ASN1_R_INVALID_NUMBER@GOTPAGEOFF]
LBB0_7:
Lloh4:
	adrp	x9, _ASN1_F_BITSTR_CB@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ASN1_F_BITSTR_CB@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_ASN1err
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_F_BITSTR_CB,4,2           ; @ASN1_F_BITSTR_CB
	.comm	_ASN1_R_INVALID_NUMBER,4,2      ; @ASN1_R_INVALID_NUMBER
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_bitstr_cb
.subsections_via_symbols
