	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_flags
_check_flags:                           ## @check_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	notl	%eax
	andl	%edi, %eax
	movq	_KADM5_PRIV_GET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_KADM5_AUTH_GET@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_2:
	movq	_KADM5_PRIV_ADD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_KADM5_AUTH_ADD@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	_KADM5_PRIV_MODIFY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_KADM5_AUTH_MODIFY@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_6:
	movq	_KADM5_PRIV_DELETE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_KADM5_AUTH_DELETE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:
	movq	_KADM5_PRIV_CPW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	_KADM5_AUTH_CHANGEPW@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_10:
	movq	_KADM5_PRIV_LIST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	_KADM5_AUTH_LIST@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movq	_KADM5_AUTH_INSUFFICIENT@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
LBB0_15:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KADM5_PRIV_GET,4,2             ## @KADM5_PRIV_GET
	.comm	_KADM5_AUTH_GET,4,2             ## @KADM5_AUTH_GET
	.comm	_KADM5_PRIV_ADD,4,2             ## @KADM5_PRIV_ADD
	.comm	_KADM5_AUTH_ADD,4,2             ## @KADM5_AUTH_ADD
	.comm	_KADM5_PRIV_MODIFY,4,2          ## @KADM5_PRIV_MODIFY
	.comm	_KADM5_AUTH_MODIFY,4,2          ## @KADM5_AUTH_MODIFY
	.comm	_KADM5_PRIV_DELETE,4,2          ## @KADM5_PRIV_DELETE
	.comm	_KADM5_AUTH_DELETE,4,2          ## @KADM5_AUTH_DELETE
	.comm	_KADM5_PRIV_CPW,4,2             ## @KADM5_PRIV_CPW
	.comm	_KADM5_AUTH_CHANGEPW,4,2        ## @KADM5_AUTH_CHANGEPW
	.comm	_KADM5_PRIV_LIST,4,2            ## @KADM5_PRIV_LIST
	.comm	_KADM5_AUTH_LIST,4,2            ## @KADM5_AUTH_LIST
	.comm	_KADM5_AUTH_INSUFFICIENT,4,2    ## @KADM5_AUTH_INSUFFICIENT
	.no_dead_strip	_check_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_flags
_check_flags:                           ; @check_flags
	.cfi_startproc
; %bb.0:
	bic	w8, w0, w1
Lloh0:
	adrp	x9, _KADM5_PRIV_GET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KADM5_PRIV_GET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _KADM5_AUTH_GET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KADM5_AUTH_GET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x9, _KADM5_PRIV_ADD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _KADM5_PRIV_ADD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _KADM5_AUTH_ADD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KADM5_AUTH_ADD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x9, _KADM5_PRIV_MODIFY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _KADM5_PRIV_MODIFY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _KADM5_AUTH_MODIFY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KADM5_AUTH_MODIFY@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh18:
	adrp	x9, _KADM5_PRIV_DELETE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _KADM5_PRIV_DELETE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _KADM5_AUTH_DELETE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KADM5_AUTH_DELETE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh24:
	adrp	x9, _KADM5_PRIV_CPW@GOTPAGE
Lloh25:
	ldr	x9, [x9, _KADM5_PRIV_CPW@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
Lloh27:
	adrp	x8, _KADM5_AUTH_CHANGEPW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _KADM5_AUTH_CHANGEPW@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh30:
	adrp	x9, _KADM5_PRIV_LIST@GOTPAGE
Lloh31:
	ldr	x9, [x9, _KADM5_PRIV_LIST@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh33:
	adrp	x8, _KADM5_AUTH_LIST@GOTPAGE
Lloh34:
	ldr	x8, [x8, _KADM5_AUTH_LIST@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ret
LBB0_12:
Lloh36:
	adrp	x9, _KADM5_AUTH_INSUFFICIENT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _KADM5_AUTH_INSUFFICIENT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, wzr, w9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_KADM5_PRIV_GET,4,2             ; @KADM5_PRIV_GET
	.comm	_KADM5_AUTH_GET,4,2             ; @KADM5_AUTH_GET
	.comm	_KADM5_PRIV_ADD,4,2             ; @KADM5_PRIV_ADD
	.comm	_KADM5_AUTH_ADD,4,2             ; @KADM5_AUTH_ADD
	.comm	_KADM5_PRIV_MODIFY,4,2          ; @KADM5_PRIV_MODIFY
	.comm	_KADM5_AUTH_MODIFY,4,2          ; @KADM5_AUTH_MODIFY
	.comm	_KADM5_PRIV_DELETE,4,2          ; @KADM5_PRIV_DELETE
	.comm	_KADM5_AUTH_DELETE,4,2          ; @KADM5_AUTH_DELETE
	.comm	_KADM5_PRIV_CPW,4,2             ; @KADM5_PRIV_CPW
	.comm	_KADM5_AUTH_CHANGEPW,4,2        ; @KADM5_AUTH_CHANGEPW
	.comm	_KADM5_PRIV_LIST,4,2            ; @KADM5_PRIV_LIST
	.comm	_KADM5_AUTH_LIST,4,2            ; @KADM5_AUTH_LIST
	.comm	_KADM5_AUTH_INSUFFICIENT,4,2    ; @KADM5_AUTH_INSUFFICIENT
	.no_dead_strip	_check_flags
.subsections_via_symbols
