	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_usage_of_ex
_get_usage_of_ex:                       ## @get_usage_of_ex
	.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	_NID_key_usage@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_X509_get_ext_d2i
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.3:
	movq	8(%rax), %rdx
	movq	(%rdx), %rbx
	cmpl	$1, %ecx
	je	LBB0_5
## %bb.4:
	movq	8(%rdx), %rcx
	shlq	$8, %rcx
	orq	%rcx, %rbx
	jmp	LBB0_5
LBB0_2:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rax, %rdi
	callq	_ASN1_BIT_STRING_free
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_key_usage,4,2              ## @NID_key_usage
	.no_dead_strip	_get_usage_of_ex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_usage_of_ex
_get_usage_of_ex:                       ; @get_usage_of_ex
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _NID_key_usage@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_key_usage@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	mov	x3, #0
	bl	_X509_get_ext_d2i
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	cmp	w9, #1
	b.eq	LBB0_6
; %bb.3:
	ldr	x8, [x8, #8]
	orr	x19, x19, x8, lsl #8
	b	LBB0_6
LBB0_4:
	mov	x19, #0
	b	LBB0_7
LBB0_5:
	mov	x19, #0
LBB0_6:
	bl	_ASN1_BIT_STRING_free
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_key_usage,4,2              ; @NID_key_usage
	.no_dead_strip	_get_usage_of_ex
.subsections_via_symbols
