	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_fb_sysctl_init
_bcm_fb_sysctl_init:                    ## @bcm_fb_sysctl_init
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_device_get_sysctl_ctx
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_device_get_sysctl_tree
	movq	%rax, %rdi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CTLFLAG_RW@GOTPCREL(%rip), %rcx
	movq	_CTLTYPE_UINT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rcx), %r8d
	movq	_bcm_fb_resync_sysctl@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.2(%rip), %r11
	leaq	L_.str.1(%rip), %r15
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r15
	pushq	%r10
	pushq	$4
	callq	_SYSCTL_ADD_PROC
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resync"

	.comm	_CTLFLAG_RW,4,2                 ## @CTLFLAG_RW
	.comm	_CTLTYPE_UINT,4,2               ## @CTLTYPE_UINT
	.comm	_bcm_fb_resync_sysctl,4,2       ## @bcm_fb_resync_sysctl
L_.str.1:                               ## @.str.1
	.asciz	"IU"

L_.str.2:                               ## @.str.2
	.asciz	"Set to resync framebuffer with VC"

	.no_dead_strip	_bcm_fb_sysctl_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_fb_sysctl_init
_bcm_fb_sysctl_init:                    ; @bcm_fb_sysctl_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_device_get_sysctl_ctx
	mov	x20, x0
	ldr	w0, [x19]
	bl	_device_get_sysctl_tree
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
Lloh0:
	adrp	x8, _OID_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OID_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _CTLFLAG_RW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTLFLAG_RW@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CTLTYPE_UINT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CTLTYPE_UINT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh9:
	adrp	x8, _bcm_fb_resync_sysctl@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bcm_fb_resync_sysctl@GOTPAGEOFF]
Lloh11:
	ldr	w7, [x8]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh14:
	adrp	x9, l_.str.1@PAGE
Lloh15:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x9, x8, [sp]
Lloh16:
	adrp	x3, l_.str@PAGE
Lloh17:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x5, x19
	mov	w6, #4
	bl	_SYSCTL_ADD_PROC
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resync"

	.comm	_CTLFLAG_RW,4,2                 ; @CTLFLAG_RW
	.comm	_CTLTYPE_UINT,4,2               ; @CTLTYPE_UINT
	.comm	_bcm_fb_resync_sysctl,4,2       ; @bcm_fb_resync_sysctl
l_.str.1:                               ; @.str.1
	.asciz	"IU"

l_.str.2:                               ; @.str.2
	.asciz	"Set to resync framebuffer with VC"

	.no_dead_strip	_bcm_fb_sysctl_init
.subsections_via_symbols
