	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_bracket_layout_record
_get_bracket_layout_record:             ## @get_bracket_layout_record
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_BP_FROM_DCB
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rdx
	movq	_BP_RESULT_NORECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdx), %ecx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.3:
	movq	8(%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rdx,%rsi,4)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DC_LOG_DETECTION_EDID_PARSER
	movq	_BP_RESULT_BADINPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_slot_layout_info        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid slot_layout_info\n"

	.comm	_BP_RESULT_BADINPUT,4,2         ## @BP_RESULT_BADINPUT
	.comm	_BP_RESULT_NORECORD,4,2         ## @BP_RESULT_NORECORD
	.no_dead_strip	_get_bracket_layout_record
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_bracket_layout_record
_get_bracket_layout_record:             ; @get_bracket_layout_record
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_BP_FROM_DCB
	cbz	x19, LBB0_5
; %bb.1:
	ldr	x9, [x0]
Lloh0:
	adrp	x8, _BP_RESULT_NORECORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BP_RESULT_NORECORD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w8, [x9]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x1, #0
	ldr	x9, [x9, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x1, lsl #2]
	cmp	w10, w21
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x1, #1
	cmp	x8, x1
	b.ne	LBB0_3
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_LOG_DETECTION_EDID_PARSER
Lloh5:
	adrp	x8, _BP_RESULT_BADINPUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BP_RESULT_BADINPUT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_update_slot_layout_info
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid slot_layout_info\n"

	.comm	_BP_RESULT_BADINPUT,4,2         ; @BP_RESULT_BADINPUT
	.comm	_BP_RESULT_NORECORD,4,2         ; @BP_RESULT_NORECORD
	.no_dead_strip	_get_bracket_layout_record
.subsections_via_symbols
