	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_get_key_usage             ## -- Begin function X509_get_key_usage
	.p2align	4, 0x90
_X509_get_key_usage:                    ## @X509_get_key_usage
	.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	%rdi, %rbx
	movl	$-1, %esi
	movl	$-1, %edx
	callq	_X509_check_purpose
	movq	_EXFLAG_KUSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_UINT32_MAX@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_1:
	addq	$4, %rbx
LBB0_3:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXFLAG_KUSAGE,4,2              ## @EXFLAG_KUSAGE
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_get_key_usage             ; -- Begin function X509_get_key_usage
	.p2align	2
_X509_get_key_usage:                    ; @X509_get_key_usage
	.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
	mov	x19, x0
	mov	w1, #-1
	mov	w2, #-1
	bl	_X509_check_purpose
	ldr	w8, [x19], #4
Lloh0:
	adrp	x9, _EXFLAG_KUSAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXFLAG_KUSAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _UINT32_MAX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _UINT32_MAX@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x19, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXFLAG_KUSAGE,4,2              ; @EXFLAG_KUSAGE
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
.subsections_via_symbols
