	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hdb_find_master_key           ## -- Begin function _hdb_find_master_key
	.p2align	4, 0x90
__hdb_find_master_key:                  ## @_hdb_find_master_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rsi), %rdx
	movq	%rcx, %rax
	cmpq	(%rdi), %rdx
	je	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rsi), %rsi
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%rdi, %rdi
	jne	LBB0_9
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%rsi)
	movl	$0, %ecx
	cmoveq	%rsi, %rcx
	testq	%rdi, %rdi
	jne	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, %rax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rsi), %rdx
	movq	%rcx, %rax
	cmpq	8(%rcx), %rdx
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, %rax
	jmp	LBB0_8
LBB0_10:
	movq	%rsi, %rax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hdb_find_master_key           ; -- Begin function _hdb_find_master_key
	.p2align	2
__hdb_find_master_key:                  ; @_hdb_find_master_key
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	cbnz	x1, LBB0_4
LBB0_1:
	mov	x0, x8
	ret
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x1, #8]
	ldr	x11, [x0]
	mov	x8, x9
	cmp	x10, x11
	b.eq	LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x1]
	cbz	x1, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x0, LBB0_2
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x1, #8]
	cmp	x8, #0
	csel	x9, x1, xzr, eq
	cbnz	x0, LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x1
	cbz	x9, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x1, #8]
	ldr	x10, [x9, #8]
	cmp	x8, x10
	csel	x8, x9, x1, le
	b	LBB0_3
LBB0_9:
	mov	x8, x1
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
