	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_master_mit
_read_master_mit:                       ## @read_master_mit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_open
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r13d
	movq	%r12, %rbx
	movl	%eax, %edi
	callq	_krb5_storage_from_fd
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_krb5_storage_set_flags
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_krb5_ret_int16
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movl	-44(%rbp), %esi
	movl	%r14d, %edi
	callq	_krb5_enctype_valid
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movl	-44(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_krb5_ret_data
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	-56(%rbp), %rdx
	movl	%r14d, %edi
	movl	$1, %esi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_hdb_process_master_key
	movl	%eax, %r15d
	movl	%r14d, %edi
	leaq	-56(%rbp), %rsi
	callq	_krb5_free_keyblock_contents
LBB0_8:
	movq	%r12, %rdi
	callq	_krb5_storage_free
	movl	%r13d, %edi
	callq	_close
	jmp	LBB0_9
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%rbx, %rcx
	movl	%eax, %r8d
	callq	_krb5_set_error_message
	jmp	LBB0_9
LBB0_3:
	movl	%r13d, %edi
	callq	_close
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_BINARY,4,2                   ## @O_BINARY
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to open %s: %s"

	.no_dead_strip	_read_master_mit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_master_mit
_read_master_mit:                       ; @read_master_mit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _O_BINARY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _O_BINARY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x22
	bl	_open
	tbnz	w0, #31, LBB0_7
; %bb.1:
	mov	x20, x0
	bl	_krb5_storage_from_fd
	cbz	x0, LBB0_8
; %bb.2:
	mov	x22, x0
	mov	x1, x23
	bl	_krb5_storage_set_flags
	add	x1, sp, #12
	mov	x0, x22
	bl	_krb5_ret_int16
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_krb5_enctype_valid
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	w8, [sp, #12]
	str	w8, [sp, #4]
	mov	x1, sp
	mov	x0, x22
	bl	_krb5_ret_data
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x2, sp
	mov	x0, x19
	mov	w1, #1
	mov	w3, #0
	mov	x4, x21
	bl	_hdb_process_master_key
	mov	x23, x0
	mov	x1, sp
	mov	x0, x19
	bl	_krb5_free_keyblock_contents
LBB0_6:
	mov	x0, x22
	bl	_krb5_storage_free
	mov	x0, x20
	bl	_close
	b	LBB0_9
LBB0_7:
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	mov	x0, x23
	bl	_strerror
	mov	x4, x0
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	mov	x3, x22
	bl	_krb5_set_error_message
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_close
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_BINARY,4,2                   ; @O_BINARY
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to open %s: %s"

	.no_dead_strip	_read_master_mit
.subsections_via_symbols
