	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdisp_g_selection
_bdisp_g_selection:                     ## @bdisp_g_selection
	.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
	movq	%rsi, %rdi
	callq	_fh_to_ctx
	movq	%rax, %r15
	movl	20(%r14), %esi
	movq	%rax, %rdi
	callq	_ctx_get_frame
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.13:
	movq	(%r15), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movl	20(%r14), %eax
	cmpl	$136, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$135, %eax
	jne	LBB0_10
## %bb.3:
	movl	16(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_14
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_5
	jmp	LBB0_9
LBB0_6:
	movl	16(%r14), %eax
	leal	-132(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_14
## %bb.7:
	cmpl	$134, %eax
	je	LBB0_5
## %bb.8:
	cmpl	$131, %eax
	jne	LBB0_9
LBB0_5:
	movups	8(%rbx), %xmm0
	movups	%xmm0, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movq	(%r15), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_11
LBB0_14:
	movq	$0, 8(%r14)
	movl	4(%rbx), %eax
	movl	%eax, 4(%r14)
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	movq	(%r15), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_11:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid frame (%p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid target\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"Invalid type\n"

	.no_dead_strip	_bdisp_g_selection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdisp_g_selection
_bdisp_g_selection:                     ; @bdisp_g_selection
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x0, x1
	bl	_fh_to_ctx
	mov	x21, x0
	ldr	w1, [x19, #20]
	bl	_ctx_get_frame
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w0, [x8]
	str	x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_2:
	ldr	w8, [x19, #20]
	cmp	w8, #136
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #135
	b.ne	LBB0_10
; %bb.4:
	ldr	w8, [x19, #16]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_11
; %bb.5:
	cmp	w8, #130
	b.eq	LBB0_9
	b	LBB0_12
LBB0_6:
	ldr	w8, [x19, #16]
	sub	w9, w8, #132
	cmp	w9, #2
	b.lo	LBB0_11
; %bb.7:
	cmp	w8, #134
	b.eq	LBB0_9
; %bb.8:
	cmp	w8, #131
	b.ne	LBB0_12
LBB0_9:
	mov	w0, #0
	ldur	q0, [x20, #8]
	str	q0, [x19]
	b	LBB0_14
LBB0_10:
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_11:
	mov	w0, #0
	str	xzr, [x19, #8]
	ldr	d0, [x20]
	str	d0, [x19]
	b	LBB0_14
LBB0_12:
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
	bl	_dev_err
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid frame (%p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid target\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"Invalid type\n"

	.no_dead_strip	_bdisp_g_selection
.subsections_via_symbols
